-
-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (43 loc) · 1.11 KB
/
Copy pathMakefile
File metadata and controls
50 lines (43 loc) · 1.11 KB
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
41
42
43
44
45
46
47
48
49
50
.PHONY: dev test build version version_beta version_prod
dev:
bun install -g wasm-pack
cd wasm
rustup override set stable
rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu
cd ..
bun install
bun run wasm:build || exit 1
bun run build || exit 1
bun run dev
gh-actions:
bun install
bun run wasm:test || exit 1
bun run test || exit 1
bun run build || exit 1
test:
bun install -g wasm-pack
cd wasm
rustup override set stable
rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu
cd ..
bun install
bun run wasm:build || exit 1
bun run build || exit 1
bun run test || exit 1
bun run dev
build:
bun install -g wasm-pack
cd wasm
rustup override set stable
rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu
cd ..
bun install
bun run wasm:build || exit 1
bun run build || exit 1
version: version_beta version_prod
version_beta:
bun run version-bump-beta.mjs
git add manifest-beta.json versions.json package.json
version_prod:
bun run version-bump.mjs
git add manifest.json versions.json package.json