-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (27 loc) · 794 Bytes
/
Copy pathjustfile
File metadata and controls
33 lines (27 loc) · 794 Bytes
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
# tsk justfile
# Install: brew install just
# Build and install tsk and tskd to ~/.cargo/bin
build-install:
cargo install --path cli
cargo install --path daemon
# Run all tests
test:
cargo test --workspace
# Build (debug)
build:
cargo build --workspace
# Remove installed binaries
uninstall:
cargo uninstall tsk-bin
cargo uninstall tskd
# Bump the workspace version (requires cargo-edit: cargo install cargo-edit)
bump VERSION:
cargo set-version --workspace {{VERSION}}
# Publish all crates to crates.io
# core must be published first; sleep gives crates.io time to index it
# before tsk-bin and tskd resolve the version dependency
publish:
cargo publish --package tsk-core
sleep 30
cargo publish --package tsk-bin
cargo publish --package tskd