fix makefile

feat/vaults
Tomáš Mládek 2021-12-20 00:15:57 +01:00
parent 627fb78645
commit 6e91ce923d
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
all: package
package: target/release/upend ui/dist/index.html
package: target/release/upend ui/public/build/bundle.js
rm -fr dist
linuxdeploy-x86_64.AppImage --appdir dist
cp target/release/upend dist/usr/bin/upend
@ -17,9 +17,9 @@ target/release/upend:
tools/upend_js/index.js:
cd tools/upend_js && yarn install && yarn build
frontend: ui/dist/index.html
frontend: ui/public/build/bundle.js
ui/dist/index.html: tools/upend_js/index.js
ui/public/build/bundle.js: tools/upend_js/index.js
cd ui && yarn add ../tools/upend_js && yarn install && yarn build
lint: backend_lint frontend_lint
@ -35,7 +35,7 @@ backend_test:
clean:
rm -vr target
rm -vr ui/dist
rm -vr ui/public/build
update_schema:
rm -f upend.sqlite3