mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
finetune #316 update the makerfile with review opinion and remove yarn.lock in
.gitignore
This commit is contained in:
parent
3aed794c79
commit
4553152ab1
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -34,4 +34,3 @@
|
|||
/pkg/server/assets.go
|
||||
|
||||
node_modules
|
||||
yarn.lock
|
||||
|
|
8
Makefile
8
Makefile
|
@ -24,9 +24,7 @@ $(BIN_DIR):
|
|||
|
||||
|
||||
# build native bbgo
|
||||
bbgo: static bbgo-full
|
||||
|
||||
bbgo-full:
|
||||
bbgo: static
|
||||
go build -tags web,release -o $(BIN_DIR)/bbgo ./cmd/bbgo
|
||||
|
||||
# build native bbgo (slim version)
|
||||
|
@ -148,8 +146,10 @@ docker-push:
|
|||
docker push yoanlin/bbgo
|
||||
bash -c "[[ -n $(DOCKER_TAG) ]] && docker push yoanlin/bbgo:$(DOCKER_TAG)"
|
||||
|
||||
frontend/out/index.html:
|
||||
frontend/node_modules:
|
||||
cd frontend && yarn install
|
||||
|
||||
frontend/out/index.html: frontend/node_modules
|
||||
cd frontend && yarn export
|
||||
|
||||
pkg/server/assets.go: frontend/out/index.html
|
||||
|
|
Loading…
Reference in New Issue
Block a user