summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 13:29:12 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 13:29:12 +0200
commitf42bec58d38bcc5458dc9ab12a46a2e8f7c990e2 (patch)
tree25eee64ec49c14a567d77eecc2eefae2e9879b10 /install
parentCSS fixes (diff)
downloadbeziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.tar
beziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.tar.gz
beziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.tar.bz2
beziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.tar.lz
beziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.tar.xz
beziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.tar.zst
beziapp-f42bec58d38bcc5458dc9ab12a46a2e8f7c990e2.zip
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 5 insertions, 1 deletions
diff --git a/install b/install
index 5f5b941..b03e2b3 100755
--- a/install
+++ b/install
@@ -3,6 +3,10 @@
cp -r assets/css dist/
cp -r assets/fonts dist/
cp -r assets/img dist/
-cp -r assets/js dist/
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/compose-single \"assets/root/\$FILE\" \"\$FILE_DST\""
+
+# js bvr fajli
+mkdir -p dist/js
+find assets/js/ -type f \( ! -name "*.bvr" \) -exec cp -r "{}" dist/js/ \;
+find assets/js/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\${FILE/.bvr/}"; ./bin/compose-single \"assets/js/\$FILE\" \"\$FILE_DST\""