all repos — gopkgs @ 8daab798ff9295fd199ea2d993cfbd34ed707308

Go module vanity import paths

remove nix build; just use `go run`

Alan Pearce
commit

8daab798ff9295fd199ea2d993cfbd34ed707308

parent

d8516aeebdcd0460a049baf819dee4f41fa18658

3 files changed, 1 insertion(+), 28 deletions(-)

changed files
M .gitignore.gitignore
@@ -1,3 +1,2 @@
/dist/ *_templ.* -/result
D default.nix
@@ -1,23 +0,0 @@
-{ pkgs ? import <nixpkgs> { } }: -let - inherit (pkgs) buildGoModule lib; -in - -buildGoModule { - pname = "gopkgs"; - version = "unstable"; - - src = lib.sourceFilesBySuffices ./. [ ".go" ".templ" ".mod" ".sum" ]; - - vendorHash = "sha256-/m5p9HUfyOlC6/aSx7XlEXCDpEi7M5rqzB6K1PDDII8="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Site generator for go vanity imports"; - homepage = "https://git.alanpearce.eu/gopkgs"; - license = licenses.mit; - maintainers = with maintainers; [ alanpearce ]; - mainProgram = "gopkgs"; - }; -}
M justfilejustfile
@@ -5,10 +5,7 @@ build:
templ generate go run . -ci: - templ generate - nix-build - ./result/bin/gopkgs +ci: build cd: ci rsync --recursive --delete --chmod=go+r dist/ /srv/http/go