-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathJustfile
More file actions
97 lines (74 loc) · 2.69 KB
/
Copy pathJustfile
File metadata and controls
97 lines (74 loc) · 2.69 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Saikuro Development Commands
#
# just List available commands
# just rust check Run all Rust checks
# just check Run all language checks
scripts := "Build/scripts"
# Language-specific commands
rust *args:
cd {{scripts}} && python3 rust.py {{args}}
python *args:
cd {{scripts}} && python3 python.py {{args}}
typescript *args:
cd {{scripts}} && python3 typescript.py {{args}}
csharp *args:
cd {{scripts}} && python3 csharp.py {{args}}
c *args:
cd {{scripts}} && python3 c.py {{args}}
cpp *args:
cd {{scripts}} && python3 cpp.py {{args}}
web_demo *args:
cd {{scripts}} && python3 web_demo.py {{args}}
# Demo WASM build recipes (individual, used by dev.mjs watcher)
wasm-c:
@cd {{scripts}} && python3 web_demo.py build-c
wasm-cpp:
@cd {{scripts}} && python3 web_demo.py build-cpp
wasm-csharp:
@cd {{scripts}} && python3 web_demo.py build-csharp
wasm-rust-runtime:
@cd {{scripts}} && python3 web_demo.py build-rust-runtime
wasm-rust-provider:
@cd {{scripts}} && python3 web_demo.py build-rust-provider
wasm-python:
@cd {{scripts}} && python3 web_demo.py build-python
wasm-rust:
@cd {{scripts}} && python3 web_demo.py build-rust
wasm-all: wasm-rust wasm-c wasm-cpp wasm-csharp wasm-python wasm-rust-runtime wasm-rust-provider
# Meta commands
setup:
cd {{scripts}} && python3 rust.py setup
cd {{scripts}} && python3 python.py setup
cd {{scripts}} && python3 typescript.py setup
cd {{scripts}} && python3 csharp.py setup
cd {{scripts}} && python3 cpp.py setup
format:
cd {{scripts}} && python3 rust.py fmt_check
cd {{scripts}} && python3 typescript.py fmt_check
cd {{scripts}} && python3 python.py fmt_check
cd {{scripts}} && python3 csharp.py fmt_check
cd {{scripts}} && python3 c.py fmt_check
cd {{scripts}} && python3 cpp.py fmt_check
test:
cd {{scripts}} && python3 rust.py test
cd {{scripts}} && python3 python.py test
cd {{scripts}} && python3 typescript.py test
cd {{scripts}} && python3 csharp.py test
cd {{scripts}} && python3 c.py test
cd {{scripts}} && python3 cpp.py test
check:
cd {{scripts}} && python3 rust.py check
cd {{scripts}} && python3 python.py check
cd {{scripts}} && python3 typescript.py check
cd {{scripts}} && python3 csharp.py check
cd {{scripts}} && python3 c.py check
cd {{scripts}} && python3 cpp.py check
clean:
cd {{scripts}} && python3 rust.py clean
cd {{scripts}} && python3 python.py clean
cd {{scripts}} && python3 typescript.py clean
cd {{scripts}} && python3 csharp.py clean
cd {{scripts}} && python3 c.py clean
cd {{scripts}} && python3 cpp.py clean
rm -rf Demo/public/wasm Demo/node_modules Demo/dist
all: setup check