about summary refs log tree commit diff stats
path: root/build/rust/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'build/rust/.envrc')
-rw-r--r--build/rust/.envrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/rust/.envrc b/build/rust/.envrc
new file mode 100644
index 0000000..c8c5665
--- /dev/null
+++ b/build/rust/.envrc
@@ -0,0 +1,11 @@
+use flake || use nix
+watch_file flake.nix
+
+PATH_add ./target/debug
+PATH_add ./target/release
+PATH_add ./scripts
+
+if on_git_branch; then
+  echo && git status --short --branch &&
+  echo && git fetch --verbose
+fi