diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-10-04 20:28:36 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-10-04 20:28:36 +0200 |
commit | 796e614c642b2dd998bb1e997741f472abecdb3a (patch) | |
tree | 6d5bf0fb6891f34b311ed502bc0796be107a83e9 /Makefile | |
parent | 24 urni format in verzija (diff) | |
download | beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.tar beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.tar.gz beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.tar.bz2 beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.tar.lz beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.tar.xz beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.tar.zst beziapp-796e614c642b2dd998bb1e997741f472abecdb3a.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -26,9 +26,10 @@ generate: find assets/root/ -type f \( ! -name "*.bvr" \) -exec cp -r "{}" dist/ \; -find assets/root/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/\$${FILE/.bvr/}"; ./bin/bvr-compose-single \"assets/root/\$$FILE\" \"\$$FILE_DST\"" # js bvr fajli - mkdir -p dist/js + mkdir -p dist/js/lang # js ne znam te magije - -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/lang/ -maxdepth 1 -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/lang/\$${FILE/.bvr/}"; ./bin/bvr-compose-single \"assets/js/lang/\$$FILE\" \"\$$FILE_DST\"" + -find assets/js/ -maxdepth 1 -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 "test -z "\$${jsminpath}" && jsminpath=./bin/bvr-jsmin; FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; \$$jsminpath assets/js/\"\$$FILE\" \"\$$FILE_DST\"" cp -r assets/root/.well-known dist/ chmod 0775 dist -R |