From 33d49ce71233bf479704f60e2d87e4926c69e9fb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 14 Nov 2024 20:28:22 +0000 Subject: [PATCH] build: add build steps as default recipe in justfile --- .gitignore | 2 ++ justfile | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.gitignore b/.gitignore index 620f8f6..78e23f7 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ Cargo.lock # Added by cargo /target +/mutants.out/ +/mutants.out.old/ diff --git a/justfile b/justfile index bf5358e..83fcea9 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,15 @@ +build: + #!/usr/bin/env bash + set -e + cargo fmt + cargo fmt --check + cargo hack clippy + cargo hack build + cargo hack test + cargo doc + # cargo test --example get + cargo mutants --jobs 4 + self-test: just test $PWD forgejo-todo-checker