Files
object-browser/web-app/Makefile
Victor Bayas 3c34602f9e Fix Web App workflows (#3423)
* Fix Web App workflows

* Update Yarn to 4.4.0
2024-08-08 12:56:03 -07:00

26 lines
592 B
Makefile

default: build-static
build-static:
@echo "Building frontend static assets to 'build'"
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
yarn build
build-static-istanbul-coverage:
@echo "Building frontend static assets to 'build'"
@if [ -f "${NVM_DIR}/nvm.sh" ]; then \. "${NVM_DIR}/nvm.sh" && nvm install && nvm use; fi && \
yarn buildistanbulcoverage
test-warnings:
./check-warnings.sh
test-prettier:
./check-prettier.sh
find-deadcode:
./check-deadcode.sh
prettify:
yarn prettier --write . --log-level warn
pretty: prettify