ci: update Makefile for new webui build also
parent
311d6064bf
commit
c95b6d2353
10
Makefile
10
Makefile
|
@ -1,6 +1,6 @@
|
|||
all: package
|
||||
|
||||
package: target/release/upend webui/public/build/main.js
|
||||
package: backend frontend
|
||||
rm -fr dist
|
||||
linuxdeploy-x86_64.AppImage --appdir dist
|
||||
cp target/release/upend dist/usr/bin/upend
|
||||
|
@ -17,9 +17,7 @@ target/release/upend:
|
|||
tools/upend_js/index.js:
|
||||
cd tools/upend_js && yarn install && yarn build
|
||||
|
||||
frontend: webui/public/build/main.js
|
||||
|
||||
webui/public/build/main.js: tools/upend_js/index.js
|
||||
frontend: tools/upend_js/index.js
|
||||
cd webui && yarn add ../tools/upend_js && yarn install && yarn build
|
||||
|
||||
lint: backend_lint frontend_lint
|
||||
|
@ -31,7 +29,7 @@ backend_lint_no_default:
|
|||
cargo clippy --no-default-features
|
||||
|
||||
frontend_lint:
|
||||
cd webui && yarn add ../tools/upend_js && yarn install && yarn lint
|
||||
cd webui && yarn add ../tools/upend_js && yarn install && yarn check && yarn lint
|
||||
|
||||
frontend_lib_lint:
|
||||
cd tools/upend_js && yarn install && yarn lint
|
||||
|
@ -44,7 +42,7 @@ backend_test_no_default:
|
|||
|
||||
clean:
|
||||
rm -vr target
|
||||
rm -vr webui/public/build
|
||||
rm -vr webui/dist webui/public/vendor
|
||||
rm -vr tools/upend_js/*.js
|
||||
|
||||
update_schema:
|
||||
|
|
Loading…
Reference in New Issue