mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix makefile
This commit is contained in:
parent
c7440a3ea4
commit
63a8c00a4c
6
Makefile
6
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user