Commit f23cec175f1508ad225f5332c87927995639505a
oh
oh wait... i realized something obvious. why not keep the exact same format in Linux (so it _is_ evaluated by `bash`), then if in Windows (where it is unevaluated) `cross-script` will evaluate it. https://github.com/ahdinosaur/cross-script/issues/1#issuecomment-303988629Michael Williams committed on 5/25/2017, 1:37:46 PM
Parent: 075fc6f4a8329c5f643b9724710a4ed1cd2d8d49
Files changed
package.json | changed |
package.json | ||
---|---|---|
@@ -8,9 +8,9 @@ | ||
8 | 8 … | "scripts": { |
9 | 9 … | "test": "echo \"Error: no test specified\" && exit 1", |
10 | 10 … | "start": "electron index.js", |
11 | 11 … | "postinstall": "npm run rebuild", |
12 | - "rebuild": "cross-script npm rebuild --runtime=electron '--target=$(electron -v)' '--abi=$(electron --abi)' --disturl=https://atom.io/download/atom-shell" | |
12 … | + "rebuild": "cross-script npm rebuild --runtime=electron --target=$(electron -v) --abi=$(electron --abi) --disturl=https://atom.io/download/atom-shell" | |
13 | 13 … | }, |
14 | 14 … | "author": "Secure Scuttlebutt Consortium", |
15 | 15 … | "license": "GPL-3.0", |
16 | 16 … | "dependencies": { |
Built with git-ssb-web