flake: add gogen ad-hoc cmd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-06-20 17:34:48 +02:00
parent faaf19b73f
commit 64c6083283
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -138,6 +138,10 @@
cd $(git rev-parse --show-toplevel)
go test ./...
'';
gogen = pkgs.writeShellScriptBin "gogen" ''
cd $(git rev-parse --show-toplevel)
go generate -v ./report
'';
upcache = pkgs.writeShellScriptBin "upcache" ''
## refs:
## https://fzakaria.com/2020/08/11/caching-your-nix-shell.html
@ -185,6 +189,7 @@
## ad-hoc cmds
gob
gota
gogen
upcache
add-license
]