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 | \
|
xargs nix-store --query --requisites | \
|
||||||
cachix push go-xkcdreader
|
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
|
in
|
||||||
{
|
{
|
||||||
default = with pkgs; mkShell
|
default = with pkgs; mkShell
|
||||||
@ -173,6 +178,7 @@
|
|||||||
gob
|
gob
|
||||||
gota
|
gota
|
||||||
upcache
|
upcache
|
||||||
|
add-license
|
||||||
|
|
||||||
gopls
|
gopls
|
||||||
gofumpt
|
gofumpt
|
||||||
|
Loading…
Reference in New Issue
Block a user