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
509B

  1. export MAKEFLAGS := "-j8"
  2. export RUSTFLAGS := "-C link-arg=-fuse-ld=lld"
  3. cargo +args='':
  4. cargo {{args}}
  5. check +args='':
  6. @just cargo check {{args}}
  7. build name +args='':
  8. @just cargo build --bin {{name}} {{args}}
  9. release-build name +args='':
  10. @just cargo build --bin {{name}} --release {{args}}
  11. example name +args='':
  12. @just cargo build --example {{name}} {{args}}
  13. test +args='':
  14. @just cargo test {{args}}
  15. doc +args='':
  16. @just cargo doc --open --document-private-items {{args}}