fuzzyworld

template / commit

Run dev setup once.

757eefef0b8159e03648dc441aea6641860b2f00 · Pavel Safronov · 2023-02-18 12:02:51 -0800 · parents 5c08eb8c508c

Run dev setup once.
 .gitignore     | 15 ++++++++-------
 .gitlab-ci.yml |  1 -
 Makefile       |  3 ++-
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/.gitignore b/.gitignore
index 8582cfa..c8b435c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,8 @@
-.git
-dist
-template.exe
-template
-test
-test-coverage.out
-test-coverage.html
+.git

+dist

+template.exe

+template

+test

+test-coverage.out

+test-coverage.html

+dev-setup

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36c6f15..1411288 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,6 @@ stages:          # List of stages for jobs, and their order of execution
 before_script:
  - go version
  - make --version
- - make dev-setup
 
 build-job:
   stage: build-and-test
diff --git a/Makefile b/Makefile
index 9cc8449..a96c804 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,9 @@ dev-setup:
 	golangci-lint --version
 	go install github.com/goreleaser/goreleaser@latest
 	goreleaser --version
+	echo "${VERSION}" > dev-setup

 
-prep:

+prep: dev-setup

 	go mod tidy
 
 clean: