Skip to content
forked from c9s/bbgo

Commit

Permalink
move util/embed to utils/
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jun 8, 2022
1 parent 99bf914 commit 5f01aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ frontend/out/index.html: frontend/node_modules
cd frontend && yarn export

pkg/server/assets.go: frontend/out/index.html
go run ./util/embed -package server -tag web -output $@ $(FRONTEND_EXPORT_DIR)
go run ./utils/embed -package server -tag web -output $@ $(FRONTEND_EXPORT_DIR)

$(BACKTEST_REPORT_APP_DIR)/node_modules:
cd $(BACKTEST_REPORT_APP_DIR) && yarn install
Expand All @@ -239,7 +239,7 @@ $(BACKTEST_REPORT_APP_DIR)/out/index.html: .FORCE $(BACKTEST_REPORT_APP_DIR)/nod
cd $(BACKTEST_REPORT_APP_DIR) && yarn build && yarn export

pkg/backtest/assets.go: $(BACKTEST_REPORT_APP_DIR)/out/index.html
go run ./util/embed -package backtest -tag web -output $@ $(BACKTEST_REPORT_EXPORT_DIR)
go run ./utils/embed -package backtest -tag web -output $@ $(BACKTEST_REPORT_EXPORT_DIR)

embed: pkg/server/assets.go pkg/backtest/assets.go

Expand Down
File renamed without changes.

0 comments on commit 5f01aca

Please sign in to comment.