Skip to content

Commit

Permalink
Merge pull request #730 from stevenbronson-wk/makefile-paths
Browse files Browse the repository at this point in the history
Fix JS paths in the makefile.
  • Loading branch information
derekgengenbacher-wf authored Sep 12, 2024
2 parents 84bde94 + 188328c commit e0fefc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ all: dev
samples: Arelle
$(MAKE) -C $@

dev: iXBRLViewerPlugin/viewer/dist/ixbrl_viewer.dev.js
dev: iXBRLViewerPlugin/viewer/dist/ixbrlviewer.dev.js

prod: iXBRLViewerPlugin/viewer/dist/ixbrl_viewer.js
prod: iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js

font: iXBRLViewerPlugin/viewer/src/less/generated/icons.less

Expand All @@ -28,10 +28,10 @@ FONT_FILES := iXBRLViewerPlugin/viewer/src/icons/*.svg iXBRLViewerPlugin/viewer/
iXBRLViewerPlugin/viewer/src/less/generated/icons.less: $(FONT_FILES)
npm run font

iXBRLViewerPlugin/viewer/dist/ixbrl_viewer.dev.js: iXBRLViewerPlugin/viewer/src/*/* iXBRLViewerPlugin/viewer/src/less/generated/icons.less
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.dev.js: iXBRLViewerPlugin/viewer/src/*/* iXBRLViewerPlugin/viewer/src/less/generated/icons.less
npm run dev

iXBRLViewerPlugin/viewer/dist/ixbrl_viewer.js: iXBRLViewerPlugin/viewer/src/*/* iXBRLViewerPlugin/viewer/src/less/generated/icons.less
iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js: iXBRLViewerPlugin/viewer/src/*/* iXBRLViewerPlugin/viewer/src/less/generated/icons.less
npm run prod

test: testplugin testviewer
Expand All @@ -53,5 +53,5 @@ dist: prod
mkdir -p $(DIST)
cp -r iXBRLViewerPlugin js/dist/ixbrlviewer.js $(DIST)
zip -r $(DIST).zip $(DIST) -x \*/__pycache__/\* \*/.\*

.PHONY: samples

0 comments on commit e0fefc6

Please sign in to comment.