flake: add gogen ad-hoc cmd
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
faaf19b73f
commit
64c6083283
@ -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
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user