You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+7-7
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,6 @@ TEST_FLAGS ?=
6
6
REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)")
7
7
COVERAGE_DIR ?= .coverage
8
8
9
-
echo-source:
10
-
@echo "$(SOURCE)"
11
-
12
-
echo-database:
13
-
@echo "$(DATABASE)"
14
-
15
9
build:
16
10
CGO_ENABLED=0 go build -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)' ./cmd/migrate
17
11
@@ -104,6 +98,12 @@ release:
104
98
git tag v$(V)
105
99
@read -p "Press enter to confirm and push to origin ..."&& git push origin v$(V)
106
100
101
+
echo-source:
102
+
@echo "$(SOURCE)"
103
+
104
+
echo-database:
105
+
@echo "$(DATABASE)"
106
+
107
107
108
108
defineexternal_deps
109
109
@echo '-- $(1)'; go list -f '{{join .Deps "\n"}}' $(1) | grep -v github.com/$(REPO_OWNER)/migrate | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'
@@ -113,7 +113,7 @@ endef
113
113
114
114
.PHONY: build build-docker build-cli clean test-short test test-with-flags html-coverage \
0 commit comments