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)
|
cd $(git rev-parse --show-toplevel)
|
||||||
go test ./...
|
go test ./...
|
||||||
'';
|
'';
|
||||||
|
gogen = pkgs.writeShellScriptBin "gogen" ''
|
||||||
|
cd $(git rev-parse --show-toplevel)
|
||||||
|
go generate -v ./report
|
||||||
|
'';
|
||||||
upcache = pkgs.writeShellScriptBin "upcache" ''
|
upcache = pkgs.writeShellScriptBin "upcache" ''
|
||||||
## refs:
|
## refs:
|
||||||
## https://fzakaria.com/2020/08/11/caching-your-nix-shell.html
|
## https://fzakaria.com/2020/08/11/caching-your-nix-shell.html
|
||||||
@ -185,6 +189,7 @@
|
|||||||
## ad-hoc cmds
|
## ad-hoc cmds
|
||||||
gob
|
gob
|
||||||
gota
|
gota
|
||||||
|
gogen
|
||||||
upcache
|
upcache
|
||||||
add-license
|
add-license
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user