summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-08-30 18:07:25 +0200
committerGitHub <noreply@github.com>2022-08-30 18:07:25 +0200
commit753e88793e0525cadd8a544e3f4093cc3cf7b331 (patch)
treef544b21061e5469899f728bd9fa417a801a2d3b8 /Makefile
parent39ac02c03464c4cdb511d34c0232120d99dde936 (diff)
Port admin settings to vue (#1880)
* Port admin settings to vue Co-authored-by: anoy. <anoymouserver@users.noreply.github.com> Co-authored-by: Benjamin Brahmer <info@b-brahmer.de> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3322b3b51..7e55a1bb3 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,8 @@ endif
# Installs npm dependencies
.PHONY: npm
npm:
+ $(npm) ci
+ $(npm) run build
ifneq (, $(npm))
cd js && $(npm) run build
else
@@ -171,7 +173,7 @@ appstore:
# on macOS there is no option "--parents" for the "cp" command
mkdir -p $(appstore_sign_dir)/$(app_name)/js/build $(appstore_sign_dir)/$(app_name)/js/admin
cp js/build/app.min.js $(appstore_sign_dir)/$(app_name)/js/build
- cp js/admin/Admin.js $(appstore_sign_dir)/$(app_name)/js/admin
+ cp js/build/news-admin-settings.js* $(appstore_sign_dir)/$(app_name)/js/build
# export the key and cert to a file
mkdir -p $(cert_dir)