mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +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 .
|
tar -C $(BUILD_DIR) -cvzf $(DIST_DIR)/bbgo-$$(git describe --tags).tar.gz .
|
||||||
|
|
||||||
migrations:
|
migrations:
|
||||||
rockhopper compile --config rockhopper.yaml --output pkg/migrations
|
rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql
|
||||||
git add -v pkg/migrations
|
rockhopper compile --config rockhopper_sqlite.yaml --output pkg/migrations/sqlite3
|
||||||
git commit -m "Update migration package" pkg/migrations
|
git add -v pkg/migrations && git commit -m "compile and update migration package" pkg/migrations || true
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
GOPATH=$(PWD)/_mod go mod download
|
GOPATH=$(PWD)/_mod go mod download
|
||||||
|
|
Loading…
Reference in New Issue
Block a user