summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-11-09 15:06:18 +0100
committerGitHub <noreply@github.com>2020-11-09 15:06:18 +0100
commit05042924c5797d1bcf61794aad1a4965b7fb0e65 (patch)
tree32d9e014b24c76514be83467693a334872cdd6ab /Makefile
parentMerge pull request #28 from beziapp/dev 🤞 (diff)
parentadded nginx config file for bežiapp html host (diff)
downloadbeziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.tar
beziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.tar.gz
beziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.tar.bz2
beziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.tar.lz
beziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.tar.xz
beziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.tar.zst
beziapp-05042924c5797d1bcf61794aad1a4965b7fb0e65.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 90fe3e1..e415395 100644
--- a/Makefile
+++ b/Makefile
@@ -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