From 63a8c00a4c3cb1fdfc451fc528e0af860873d95c Mon Sep 17 00:00:00 2001 From: c9s Date: Sat, 6 Feb 2021 09:51:11 +0800 Subject: [PATCH] fix makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9a6ff5d5f..8dbbd46e4 100644 --- a/Makefile +++ b/Makefile @@ -28,9 +28,9 @@ dist: bin-dir bbgo-linux bbgo-darwin tar -C $(BUILD_DIR) -cvzf $(DIST_DIR)/bbgo-$$(git describe --tags).tar.gz . migrations: - rockhopper compile --config rockhopper.yaml --output pkg/migrations - git add -v pkg/migrations - git commit -m "Update migration package" pkg/migrations + rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql + rockhopper compile --config rockhopper_sqlite.yaml --output pkg/migrations/sqlite3 + git add -v pkg/migrations && git commit -m "compile and update migration package" pkg/migrations || true docker: GOPATH=$(PWD)/_mod go mod download