A command-line tool for crate registry backup/export
https://shipyard.rs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
478 B
26 lines
478 B
2 years ago
|
set dotenv-load := true
|
||
|
rustc-version := "nightly"
|
||
|
publish-registry := "shipyard-rs-public"
|
||
|
|
||
|
export RUSTFLAGS := "-C link-arg=-fuse-ld=lld -C target-cpu=native"
|
||
|
|
||
|
cargo +args='':
|
||
|
cargo +{{rustc-version}} {{args}}
|
||
|
|
||
|
check +args='':
|
||
|
@just cargo check {{args}}
|
||
|
|
||
|
test +args='':
|
||
|
just cargo test {{args}}
|
||
|
|
||
|
debug-build +args='':
|
||
|
@just cargo build --bin registry-backup {{args}}
|
||
|
|
||
|
release-build +args='':
|
||
|
@just cargo build --bin registry-backup --release {{args}}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|