Skip to content

Commit

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

$(PREJS) $(POSTJS): $(CORESOURCEDIR)/vireo.wrapper.js
npm run lint
node splitVireoWrapper.js $(CORESOURCEDIR)/vireo.wrapper.js $(PREJS) $(POSTJS)
npm run split-wrapper -- $(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 @@ -44,7 +44,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": "node make-it/splitVireoWrapper.js source/core/vireo.wrapper.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9fa62dc

Please sign in to comment.