about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-01-22 08:09:56 -0800
committerFranck Cuny <franck@fcuny.net>2024-01-22 08:09:56 -0800
commit77e1652eead8fed1cb66ce0719ba9eeda1bfd9f1 (patch)
tree61f1ad46b7154bf284db6f8d4f8924d55f7905fd
parentbuild all the binaries using a Makefile (diff)
downloadworld-77e1652eead8fed1cb66ce0719ba9eeda1bfd9f1.tar.gz
add more commands to devshell's menu
Diffstat (limited to '')
-rw-r--r--flake/devshell.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/flake/devshell.nix b/flake/devshell.nix
index 886d7c1..2cdce16 100644
--- a/flake/devshell.nix
+++ b/flake/devshell.nix
@@ -46,6 +46,18 @@
             help = "Switch to the current darwin configuration";
             command = "darwin-rebuild switch --flake .#";
           }
+          {
+            name = "build-commands";
+            category = "cmd";
+            help = "Build all the commands";
+            command = "make build-binaries";
+          }
+          {
+            name = "clean";
+            category = "cmd";
+            help = "Delete all the artifacts in bin/";
+            command = "make clean";
+          }
         ];
       };