Skip to content

Commit

Permalink
Merge pull request #419 from dawidd6/patch-1
Browse files Browse the repository at this point in the history
Makefile: provide a simpler build task
  • Loading branch information
dhui committed Jul 28, 2020
2 parents 07052cd + ea98a5b commit d72c200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ TEST_FLAGS ?=
REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)")
COVERAGE_DIR ?= .coverage

build:
CGO_ENABLED=0 go build -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)' ./cmd/migrate

build-cli: clean
-mkdir ./cli/build
Expand Down Expand Up @@ -100,7 +102,7 @@ define external_deps
endef


.PHONY: build-cli clean test-short test test-with-flags html-coverage \
.PHONY: build build-cli clean test-short test test-with-flags html-coverage \
restore-import-paths rewrite-import-paths list-external-deps release \
docs kill-docs open-docs kill-orphaned-docker-containers

Expand Down

0 comments on commit d72c200

Please sign in to comment.