aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c41cdd..d78efbd 100644
--- a/Makefile
+++ b/Makefile
@@ -29,8 +29,12 @@ cashierd: generate
clean:
rm -f cashier cashierd
+# usage: make migration name=whatever
+migration:
+ go run ./generate/migration/migration.go $(name)
+
dep:
go get -u github.com/golang/lint/golint
go get -u golang.org/x/tools/cmd/goimports
-.PHONY: all build dep generate test cashier cashierd clean
+.PHONY: all build dep generate test cashier cashierd clean migration