From 6e91ce923d0cd11ace6495bc3ef3d8bd44391111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 20 Dec 2021 00:15:57 +0100 Subject: [PATCH] fix makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 07127af..912f193 100644 --- a/Makefile +++ b/Makefile @@ -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