From 89beafc7e50da97c532ba4ca4fc058260dcb3db5 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 1 Aug 2019 19:44:05 +0200 Subject: [PATCH] Add auto-building Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 11 +++++++++++ Makefile | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .repo-runner.yaml create mode 100644 Makefile diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..5ee6641 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,11 @@ +--- + +image: "reporunner/golang-alpine" +checkout_dir: /go/src/github.com/Luzifer/mqttcli + +commands: + - make publish + +environment: + CGO_ENABLED: 0 + GO111MODULE: on diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9338123 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh