Use colons consistently in build scripts

This commit is contained in:
David Baker 2021-07-07 11:17:31 +01:00
parent 3dd611b5d5
commit a22ba39e63
2 changed files with 6 additions and 6 deletions

View file

@ -133,16 +133,16 @@ You'll then need to create a built bundle with the same architecture.
To bundle a universal build for macOS, run:
```
yarn run builduniversal
yarn run build:universal
```
If you're on Windows, you can choose to build specifically for 32 or 64 bit:
```
yarn run build32
yarn run build:32
```
or
```
yarn run build64
yarn run build:64
```
Note that the native module build system keeps the different architectures

View file

@ -24,9 +24,9 @@
"lint:types": "tsc --noEmit",
"build:native": "yarn run hak",
"build:native:universal": "yarn run hak --target x86_64-apple-darwin fetchandbuild && yarn run hak --target aarch64-apple-darwin fetchandbuild && yarn run hak --target x86_64-apple-darwin --target aarch64-apple-darwin copyandlink",
"build32": "yarn run build:ts && yarn run build:res && electron-builder --ia32",
"build64": "yarn run build:ts && yarn run build:res && electron-builder --x64",
"builduniversal": "yarn run build:ts && yarn run build:res && electron-builder --universal",
"build:32": "yarn run build:ts && yarn run build:res && electron-builder --ia32",
"build:64": "yarn run build:ts && yarn run build:res && electron-builder --x64",
"build:universal": "yarn run build:ts && yarn run build:res && electron-builder --universal",
"build": "yarn run build:ts && yarn run build:res && electron-builder",
"build:ts": "tsc",
"build:res": "node scripts/copy-res.js",