From a4a3a83f401ac1675b3642b8b1728f3f1e956510 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 14 Jul 2019 00:15:21 +0200 Subject: [PATCH] Fix: Adjust to new build script Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 5 +++-- Makefile | 4 ++-- cmd/password/go.mod | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.repo-runner.yaml b/.repo-runner.yaml index 0909a19..2def28a 100644 --- a/.repo-runner.yaml +++ b/.repo-runner.yaml @@ -1,7 +1,7 @@ --- image: "reporunner/golang-alpine" -checkout_dir: /src +checkout_dir: /go/src/github.com/Luzifer/password commands: - make publish @@ -9,5 +9,6 @@ commands: environment: CGO_ENABLED: 0 GHUSER: Luzifer - PACKAGES: . + GO111MODULE: on + PACKAGES: github.com/Luzifer/password/cmd/password REPO: password diff --git a/Makefile b/Makefile index e0fe662..1bb2716 100644 --- a/Makefile +++ b/Makefile @@ -18,5 +18,5 @@ pack: compile_js bash generateXKCDWordList.sh publish: - curl -sSLo cmd/password/golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh - cd cmd/password && bash golang.sh + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh diff --git a/cmd/password/go.mod b/cmd/password/go.mod index 3225563..47cda6f 100644 --- a/cmd/password/go.mod +++ b/cmd/password/go.mod @@ -1,4 +1,4 @@ -module password +module github.com/Luzifer/password/cmd/password go 1.12