Skip to content
Snippets Groups Projects
Commit a32f7527 authored by Shachar Itzhaky's avatar Shachar Itzhaky
Browse files

[build] Set default backend to 'wa' in package `wacoq`.

Quote escaping hell in this tiny `sed` script.
parent 8d5fb1ab
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@
"build": "webpack --mode production",
"build:dev": "webpack",
"watch": "webpack -w",
"prepack": "sed -i.bak 's/\\(is_npm:\\) false/\\1 true/' ui-js/jscoq-loader.js"
"prepack": "sed -i.in 's/\\(is_npm:\\) false/\\1 true/' ui-js/jscoq-loader.js"
},
"repository": {
"type": "git",
......
......@@ -60,7 +60,7 @@
"build": "webpack --mode production",
"build:dev": "webpack",
"watch": "webpack -w",
"prepack": "sed -i.bak 's/\\(is_npm:\\) false/\\1 true/' ui-js/jscoq-loader.js"
"prepack": "sed -i.in 's/\\(is_npm:\\) false/\\1 true/;s/\\(backend:\\) .*/\\1 '\\'wa\\'/ ui-js/jscoq-loader.js"
},
"repository": {
"type": "git",
......
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