flake: add 'add-license' command
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
105e9efeeb
commit
2e13ad9faf
@ -136,6 +136,11 @@
|
||||
xargs nix-store --query --requisites | \
|
||||
cachix push go-xkcdreader
|
||||
'';
|
||||
add-license = pkgs.writeShellScriptBin "add-license" ''
|
||||
go run github.com/google/addlicense@v1.0.0 -v \
|
||||
-c "wanderer <a_mirre at utb dot cz>" \
|
||||
-l "GPL-3.0-or-later" -s .
|
||||
'';
|
||||
in
|
||||
{
|
||||
default = with pkgs; mkShell
|
||||
@ -173,6 +178,7 @@
|
||||
gob
|
||||
gota
|
||||
upcache
|
||||
add-license
|
||||
|
||||
gopls
|
||||
gofumpt
|
||||
|
Loading…
Reference in New Issue
Block a user