Skip to content
Snippets Groups Projects
Unverified Commit dae6d62d authored by Emilio Jesus Gallego Arias's avatar Emilio Jesus Gallego Arias
Browse files

[build] Don't use bash to run simple commands.

This has some minor advantages, including dune handling of arguments.
parent 9eed0637
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,9 @@
tsconfig.json
node_modules)
(action
(bash "npx webpack --config-name cli && chmod +x cli.js")))
(progn
(run npx webpack --config-name cli)
(run chmod +x cli.js))))
; Just the worker
(alias
......
......@@ -4,8 +4,8 @@
(source_tree .)
(source_tree ../coq-jslib)
../node_modules)
(action (bash "npx browserify coq-build.js -d -s coqBuild -o %{targets}"))
)
(action
(run npx browserify coq-build.js -d -s coqBuild -o %{targets})))
(rule
(targets ide-project.browser.js)
......@@ -14,4 +14,4 @@
(source_tree ../coq-jslib/build)
../node_modules)
(action
(bash "npx webpack --mode production --config-name ide-project")))
(run npx webpack --mode production --config-name ide-project)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment