From 46207c0e4bfe8137a3a7e26474e7a9d80e1995ad Mon Sep 17 00:00:00 2001 From: Angelo Annunziata Date: Sun, 22 Oct 2023 06:06:49 +0200 Subject: [PATCH] chore: update just file (#1028) **What I Did** - move command short-description just above the command to show it correctly in `just -l` - just one git command to update local repo for both oxc and submodules --- justfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index 5c3b0aa0b51db..62e2203d64ad6 100755 --- a/justfile +++ b/justfile @@ -6,10 +6,10 @@ _default: alias r := ready alias c := coverage -# Initialize the project by installing all the necessary tools. # Make sure you have cargo-binstall installed. # You can download the pre-compiled binary from # or install via `cargo install cargo-binstall` +# Initialize the project by installing all the necessary tools. init: cargo binstall cargo-nextest cargo-watch cargo-insta cargo-edit typos-cli taplo-cli wasm-pack cargo-llvm-cov -y @@ -25,12 +25,11 @@ ready: # Update our local branch with the remote branch (this is for you to sync the submodules) update: - git pull - git submodule update --init + git pull --recurse-submodules -# Run `cargo watch` # --no-vcs-ignores: cargo-watch has a bug loading all .gitignores, including the ones listed in .gitignore # use .ignore file getting the ignore list +# Run `cargo watch` watch command: cargo watch --no-vcs-ignores -i '*snap*' -x '{{command}}'