Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
36
vendor/users/Justfile
vendored
Normal file
36
vendor/users/Justfile
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
all: build test
|
||||
all-release: build-release test-release
|
||||
|
||||
MIN_RUST := "1.31.0"
|
||||
|
||||
|
||||
# compiles the code
|
||||
build:
|
||||
cargo +{{MIN_RUST}} build
|
||||
cargo +stable build
|
||||
|
||||
# compiles the code in release mode
|
||||
build-release:
|
||||
cargo +{{MIN_RUST}} build --release --verbose
|
||||
cargo +stable build --release --verbose
|
||||
|
||||
# compiles the code with every combination of feature flags
|
||||
build-features:
|
||||
cargo +{{MIN_RUST}} hack build --feature-powerset
|
||||
cargo +stable hack build --feature-powerset
|
||||
|
||||
|
||||
# runs unit tests
|
||||
test:
|
||||
cargo +{{MIN_RUST}} test --all -- --quiet
|
||||
cargo +stable test --all -- --quiet
|
||||
|
||||
# runs unit tests in release mode
|
||||
test-release:
|
||||
cargo +{{MIN_RUST}} test --all --release --verbose
|
||||
cargo +stable test --all --release --verbose
|
||||
|
||||
# runs unit tests with every combination of feature flags
|
||||
test-features:
|
||||
cargo +{{MIN_RUST}} hack test --feature-powerset --lib -- --quiet
|
||||
cargo +stable hack test --feature-powerset --lib -- --quiet
|
||||
Loading…
Add table
Add a link
Reference in a new issue