forked from swmff/rainbeam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
38 lines (29 loc) · 824 Bytes
/
justfile
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
# build release
build database="sqlite":
just build-assets
cargo build -r --no-default-features --features {{database}} --bin rainbeam
mimalloc-build database="sqlite":
just build-assets
cargo build -r --no-default-features --features {{database}},mimalloc --bin rainbeam
init-builder:
cd crates/builder && npm i && cd ../../
build-assets:
node ./crates/builder/index.js
# build debug
build-d:
just build-assets
cargo build --bin rainbeam
# web
web-dev:
cd crates/rainbeam-web && bun --bun run dev
web-build:
cd crates/rainbeam-web && bun --bun run build
web:
cd crates/rainbeam-web && bun ./build/index.js
# test
test:
just build-assets
cargo run --bin rainbeam
# ...
doc:
cargo doc --no-deps --document-private-items --workspace --exclude neospring-desktop