Skip to content

Commit

Permalink
Move split wrapper to npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed Apr 26, 2024
1 parent e635b67 commit b4259c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion make-it/EmMakefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ $(OBJS):
@$(MKDIR) -p $(OBJS)

$(PREJS) $(POSTJS): $(CORESOURCEDIR)/vireo.wrapper.js
node splitVireoWrapper.js $(CORESOURCEDIR)/vireo.wrapper.js $(PREJS) $(POSTJS)
npm run split-wrapper -- $(CORESOURCEDIR)/vireo.wrapper.js $(PREJS) $(POSTJS)

vjs: $(DIST)/vireo.js $(DIST)/vireo.min.js

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"lint-markdown-style": "markdownlint {./*.md,./docs/*.md}",
"prehttpbin": "python -V && pip -V && virtualenv --version && tox --version",
"httpbin": "tox",
"httpbin-start": "start cmd /c npm run httpbin"
"httpbin-start": "start cmd /c npm run httpbin",
"split-wrapper": "cd make-it && node splitVireoWrapper.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b4259c3

Please sign in to comment.