-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscripts.yaml
41 lines (28 loc) · 1.13 KB
/
scripts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
scripts:
dev: cargo tauri dev
build: cargo tauri build # --target universal-apple-darwin
build-si:
- cargo tauri build --target aarch64-apple-darwin
- cp -r /Applications/scripta-desktop.app .
- zip -r scripta-desktop-si.zip scripta-desktop.app
- rm -r scripta-desktop.app
build-x86:
- cargo tauri build --target x86_64-apple-darwin
- cp -r /Applications/scripta-desktop.app .
- zip -r scripta-desktop-x86.zip scripta-desktop.app
- rm -r scripta-desktop.app
build-u:
- cargo tauri build --target universal-apple-darwin
- cp -r /Applications/scripta-desktop.app .
- zip -r scripta-desktop-u.zip scripta-desktop.app
- rm -r scripta-desktop.app
zip:
- cp -r /Applications/scripta-tauri.app .
- zip -r scripta-desktop.zip scripta-tauri.app
- rm -r scripta-tauri.app
vendor:
cp -r ../scripta-compiler/src/* vendor/compiler
watch: npx elm-watch hot
serve: npx serve public -l 4000
get-dmg: cp /Users/jxxcarlson/dev/lamdera/bluesky/scripta-tauri/src-tauri/target/release/bundle/dmg/scripta-tauri_0.1.0_x64.dmg .
tauri-update: cargo install tauri-cli