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
- Removed sqlite3 support from binaries
- It was never working anyways: mattes/migrate#244
- Don't use cgo as is requires a cross-compiler to build for other platforms
- cgo was originally added for this reason: mattes/migrate#238 (comment)
REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)")
@@ -8,9 +8,9 @@ COVERAGE_DIR ?= .coverage
8
8
9
9
build-cli: clean
10
10
-mkdir ./cli/build
11
-
cd ./cli &&CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o build/migrate.linux-amd64 -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)'.
12
-
cd ./cli &&CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -a -o build/migrate.darwin-amd64 -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)'.
13
-
cd ./cli &&CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -a -o build/migrate.windows-amd64.exe -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)'.
11
+
cd ./cli && GOOS=linux GOARCH=amd64 go build -a -o build/migrate.linux-amd64 -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)'.
12
+
cd ./cli && GOOS=darwin GOARCH=amd64 go build -a -o build/migrate.darwin-amd64 -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)'.
13
+
cd ./cli && GOOS=windows GOARCH=amd64 go build -a -o build/migrate.windows-amd64.exe -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)'.
14
14
cd ./cli/build && find . -name 'migrate*'| xargs -I{} tar czf {}.tar.gz {}
0 commit comments