-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
40 lines (34 loc) · 1.64 KB
/
justfile
File metadata and controls
40 lines (34 loc) · 1.64 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
build *args:
cargo build {{args}} --package bottles-cli
cargo build {{args}} --package bottles-core
cargo build {{args}} --package bottles-server
cargo build {{args}} --package bottles-download-manager
cargo build {{args}} --package bottles-winebridge --target x86_64-pc-windows-gnu
check:
cargo check --package bottles-cli
cargo check --package bottles-core
cargo check --package bottles-server
cargo check --package bottles-download-manager
cargo check --package bottles-winebridge --target x86_64-pc-windows-gnu
clippy:
cargo clippy --package bottles-cli
cargo clippy --package bottles-core
cargo clippy --package bottles-server
cargo clippy --package bottles-download-manager
cargo clippy --package bottles-winebridge --target x86_64-pc-windows-gnu
bridge prefix:
cargo build --package bottles-winebridge --target x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/debug/bottles-winebridge.exe {{prefix}}
# Execute bottles-winebridge.exe inside prefix
cli *args:
cargo run --package bottles-cli {{args}}
server:
cargo run --package bottles-server
update:
cd crates/next-core && git checkout main && git pull origin main && cd -
cd crates/next-cli && git checkout main && git pull origin main && cd -
cd crates/next-docs && git checkout main && git pull origin main && cd -
cd crates/next-server && git checkout main && git pull origin main && cd -
cd crates/next-winebridge && git checkout main && git pull origin main && cd -
cd crates/next-download-manager && git checkout main && git pull origin main && cd -
git commit -am "chore: update submodules"