Boilerplate for core library and CLI binary.
This commit is contained in:
13
justfile
Normal file
13
justfile
Normal file
@@ -0,0 +1,13 @@
|
||||
default:
|
||||
@just --list --justfile {{justfile()}}
|
||||
|
||||
build: build-core build-cli
|
||||
|
||||
build-core:
|
||||
cargo build --manifest-path "core/Cargo.toml" --target-dir "target"
|
||||
|
||||
build-cli: build-core
|
||||
cargo build --manifest-path "cli/Cargo.toml" --target-dir "target"
|
||||
|
||||
run:
|
||||
cargo run --manifest-path "cli/Cargo.toml" --target-dir "target"
|
||||
Reference in New Issue
Block a user