summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Drozdov <idrozdov@gitlab.com>2021-09-09 08:33:54 +0000
committerIgor Drozdov <idrozdov@gitlab.com>2021-09-09 08:33:54 +0000
commit5edb579c23a06a2795c199478c88782b25f34d0d (patch)
treed056a24bc82ea1b56c993a7f84968e125a5589dc
parent7884a4420ac8ffd3ee34589c0f8e0d25ca0fd076 (diff)
parent455ec65dd0272b6975ca1681ba12767b900cf5e4 (diff)
downloadgitlab-shell-5edb579c23a06a2795c199478c88782b25f34d0d.tar.gz
Merge branch 'build/make' into 'main'
build: move build task to the top of the Makefile See merge request gitlab-org/gitlab-shell!513
-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/...