Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1b5c0 commit e616308Copy full SHA for e616308
Makefile
@@ -59,7 +59,17 @@ deps:
59
-go test -v -i ./...
60
61
62
-.PHONY: build-cli clean test-short test test-with-flags deps html-coverage
+restore-import-paths:
63
+ find . -name '*.go' -type f -execdir sed -i '' s#\"github.com/$(shell cd .. && basename "$$(pwd)")/migrate#\"github.com/mattes/migrate#g '{}' \;
64
+
65
66
+rewrite-import-paths:
67
+ find . -name '*.go' -type f -execdir sed -i '' s#\"github.com/mattes/migrate#\"github.com/$(shell cd .. && basename "$$(pwd)")/migrate#g '{}' \;
68
69
70
+.PHONY: build-cli clean test-short test test-with-flags deps html-coverage \
71
+ restore-import-paths rewrite-import-paths
72
73
SHELL = /bin/bash
74
RAND = $(shell echo $$RANDOM)
75
0 commit comments