summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-08-30 21:02:29 +0200
committerGitHub <noreply@github.com>2020-08-30 21:02:29 +0200
commitd0cac8d886053feb2b688c0f7eff90dc378cebb3 (patch)
tree3a91690925513cdd8c54e6778a88e0afa6b9e813 /Makefile
parentMerge pull request #24 from beziapp/dev (diff)
parentkoslila => kosila @ bundle.js (diff)
downloadbeziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar
beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.gz
beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.bz2
beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.lz
beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.xz
beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.zst
beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 911ebc9..611336b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
default:
@echo "*** BežiApp Makefile ***"
@echo "targets:"
- @echo " make prepare installs dependencies, cleans after itself, requires sudo permissions and debian/ubuntu for apt"
+ @echo " make prepare installs dependencies, uses \`sudo apt\`."
@echo " make generate installs BežiApp to dist/"
+ @echo "notes and hacks:"
+ @echo " \`cp /bin/cp bin/bvr-jsmin\` if you don't want jsmin (before generate)"
@echo "no target specified, exiting ..."
prepare:
@@ -29,4 +31,4 @@ generate:
-find assets/js/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; ./bin/bvr-compose-single \"assets/js/\$$FILE\" \"\$$FILE_DST\""
-find assets/js/ -name "*.js" -printf "%P\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; ./bin/bvr-jsmin assets/js/\"\$$FILE\" \"\$$FILE_DST\""
cp -r assets/root/.well-known dist/
-
+ chmod 0775 dist -R