From 55484b005b0fc398d8f0b6ae77c3aaa81ad79d0b Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Tue, 22 Oct 2024 21:20:21 +0300 Subject: [PATCH] chore: do some automation and git stuff --- .gitignore | 3 +++ devenv.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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