fix makefile
parent
627fb78645
commit
6e91ce923d
8
Makefile
8
Makefile
|
@ -1,6 +1,6 @@
|
||||||
all: package
|
all: package
|
||||||
|
|
||||||
package: target/release/upend ui/dist/index.html
|
package: target/release/upend ui/public/build/bundle.js
|
||||||
rm -fr dist
|
rm -fr dist
|
||||||
linuxdeploy-x86_64.AppImage --appdir dist
|
linuxdeploy-x86_64.AppImage --appdir dist
|
||||||
cp target/release/upend dist/usr/bin/upend
|
cp target/release/upend dist/usr/bin/upend
|
||||||
|
@ -17,9 +17,9 @@ target/release/upend:
|
||||||
tools/upend_js/index.js:
|
tools/upend_js/index.js:
|
||||||
cd tools/upend_js && yarn install && yarn build
|
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
|
cd ui && yarn add ../tools/upend_js && yarn install && yarn build
|
||||||
|
|
||||||
lint: backend_lint frontend_lint
|
lint: backend_lint frontend_lint
|
||||||
|
@ -35,7 +35,7 @@ backend_test:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -vr target
|
rm -vr target
|
||||||
rm -vr ui/dist
|
rm -vr ui/public/build
|
||||||
|
|
||||||
update_schema:
|
update_schema:
|
||||||
rm -f upend.sqlite3
|
rm -f upend.sqlite3
|
||||||
|
|
Loading…
Reference in New Issue