diff options
author | rstular <rok@stular.eu> | 2020-08-30 21:02:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 21:02:29 +0200 |
commit | d0cac8d886053feb2b688c0f7eff90dc378cebb3 (patch) | |
tree | 3a91690925513cdd8c54e6778a88e0afa6b9e813 /Makefile | |
parent | Merge pull request #24 from beziapp/dev (diff) | |
parent | koslila => kosila @ bundle.js (diff) | |
download | beziapp-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-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |