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