From 6727636e77ac779ec1704cd446dd193d6a7d0980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Thu, 6 Aug 2020 12:08:57 +0200 Subject: [PATCH] build to dist --- .gitignore | 1 + modd.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b1c8b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dist diff --git a/modd.conf b/modd.conf index 9996a60..d7101b7 100644 --- a/modd.conf +++ b/modd.conf @@ -1,4 +1,4 @@ **/*.go go.* { prep: go test ./... - prep: go install ./cmd/... + prep: mkdir -p dist; go build -trimpath -o dist ./cmd/... }