From 1c8f35f6d0d521c5f02229b52b2c8566056cb1f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 12 Nov 2021 16:34:13 +0100 Subject: [PATCH] update Makefile (fix CI ui build?) --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b05cbd9..f4c779f 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,12 @@ backend: target/release/upend target/release/upend: cargo build --release +tools_upend_js: + cd tools/upend_js && yarn install && yarn build + frontend: ui/dist/index.html -ui/dist/index.html: +ui/dist/index.html: tools_upend_js cd ui && yarn install && yarn build lint: backend_lint frontend_lint @@ -24,18 +27,15 @@ lint: backend_lint frontend_lint backend_lint: cargo clippy -frontend_lint: ui/node_modules - cd ui && yarn lint +frontend_lint: + cd ui && yarn instlal && yarn lint backend_test: cargo test --workspace --verbose -ui/node_modules: - cd ui && yarn install - clean: - rm -r target - rm -r ui/node_modules ui/dist + rm -vr target + rm -vr ui/dist update_schema: rm -f upend.sqlite3