Skip to content

Commit

Permalink
Remove missing target
Browse files Browse the repository at this point in the history
  • Loading branch information
punmechanic committed Aug 31, 2023
1 parent e9661cc commit ee2e76a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
prod_build = ./build/index.html
prod_input = ./src/App.js ./src/actions.js ./src/index.js ./src/stores.js ./src/components/*.jsx
prod_input = ./src/App.tsx ./src/actions.ts ./src/index.tsx ./src/stores.ts ./src/components/*.tsx

ifndef RELEASE
$(error RELEASE is not set)
Expand All @@ -20,9 +20,9 @@ endif
dev:
BROWSER=none HOST=localhost npm start

build: version $(prod_input)
build: $(prod_input)
npm install \
&& REACT_APP_VERSION=$$(git rev-parse --short HEAD)-$(RELEASE)' REACT_APP_API_URL=${API_URL} REACT_APP_BINARY_NAME=${BINARY_NAME} REACT_APP_DOCUMENTATION_URL=${REACT_APP_DOCUMENTATION_URL} REACT_APP_CLIENT=webUI npm run-script build \
&& REACT_APP_VERSION='$$(git rev-parse --short HEAD)-$(RELEASE)' REACT_APP_API_URL=${API_URL} REACT_APP_BINARY_NAME=${BINARY_NAME} REACT_APP_DOCUMENTATION_URL=${REACT_APP_DOCUMENTATION_URL} REACT_APP_CLIENT=webUI npm run-script build \
&& cp -R build/* ../builds/$(RELEASE)/frontend

test:
Expand Down

0 comments on commit ee2e76a

Please sign in to comment.