update Makefile (fix CI ui build?)
parent
a8d4d58ee4
commit
1c8f35f6d0
16
Makefile
16
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
|
||||
|
|
Loading…
Reference in New Issue