Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Feb 26, 2021
1 parent 902988a commit 4842dab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,14 @@ run-all-in-one: build-ui
.PHONY: build-ui
build-ui: cmd/query/app/ui/actual/index.html

jaeger-ui/packages/jaeger-ui/build/index.html:
cd jaeger-ui && yarn install --frozen-lockfile && cd packages/jaeger-ui && yarn build

cmd/query/app/ui/actual/index.html: jaeger-ui/packages/jaeger-ui/build/index.html
rm -rf cmd/query/app/ui/actual/*
rm -rf cmd/query/app/ui/actual
mkdir cmd/query/app/ui/actual
cp -r jaeger-ui/packages/jaeger-ui/build/* cmd/query/app/ui/actual/

jaeger-ui/packages/jaeger-ui/build/index.html:
cd jaeger-ui && yarn install --frozen-lockfile && cd packages/jaeger-ui && yarn build

.PHONY: build-all-in-one-linux
build-all-in-one-linux:
GOOS=linux $(MAKE) build-all-in-one
Expand Down

0 comments on commit 4842dab

Please sign in to comment.