diff --git a/.gitignore b/.gitignore index 215663c..4d3842b 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ devenv.local.nix ### direnv ### .direnv +### custom -- build artifacts directory ### +bin +**/bin diff --git a/devenv.nix b/devenv.nix index 00ae6e0..b575b76 100644 --- a/devenv.nix +++ b/devenv.nix @@ -17,7 +17,7 @@ scripts = { hello.exec = "echo $GREET"; cat.exec = "bat $@"; - + build.exec = "go build -o ./bin/"; show = { # Prints scripts that have a description # Adapted from https://github.com/cachix/devenv/blob/ef61728d91ad5eb91f86cdbcc16070602e7afa16/examples/scripts/devenv.nix#L34