summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-09-07 13:08:05 +0000
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-09-07 13:08:05 +0000
commit455ec65dd0272b6975ca1681ba12767b900cf5e4 (patch)
tree793665e7dd5fe0526a0f645034b18e7b16229a60
parent81e580997d07a7a9d3dddbd42cbb39f305c63b8b (diff)
downloadgitlab-shell-455ec65dd0272b6975ca1681ba12767b900cf5e4.tar.gz
build: move build task to the top of the Makefile
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 632c324..80a6794 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,8 @@ GOBUILD_FLAGS := -ldflags "-X main.Version=$(VERSION_STRING) -X main.BuildTime=$
PREFIX ?= /usr/local
+build: bin/gitlab-shell
+
validate: verify test
verify: verify_golang
@@ -40,7 +42,6 @@ setup: _script_install bin/gitlab-shell
_script_install:
bin/install
-build: bin/gitlab-shell
compile: bin/gitlab-shell
bin/gitlab-shell: $(GO_SOURCES)
GOBIN="$(CURDIR)/bin" go install $(GOBUILD_FLAGS) ./cmd/...