1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Configure test → build → deploy as a cascade and ensure public exists when building

This commit is contained in:
heyarne 2019-12-14 10:21:14 +01:00
commit 60390e141a
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@
"scripts": {
"build:cljs": "shadow-cljs release app",
"build:sass": "node-sass --output-style compressed src/sass/app.sass | postcss -o public/app/app.css",
"build": "rm -r public/*; run-p copy:* build:*",
"build": "mkdir -p public; rm -r public/*; run-p copy:* build:*",
"copy:assets": "cp -R src/assets/* public/",
"copy:icons": "cp -R node_modules/open-iconic/font/fonts public",
"deploy": "gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"",