summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 21:17:06 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 21:17:06 +0200
commit8cc2b856a47f7b1881171914147e6ddca7a8a02b (patch)
treeda1d9ccd3eae5e3bca0c7c0a91abe8889ed04613 /install
parentversion bunm + install (diff)
downloadbeziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.gz
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.bz2
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.lz
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.xz
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.tar.zst
beziapp-8cc2b856a47f7b1881171914147e6ddca7a8a02b.zip
Diffstat (limited to '')
-rwxr-xr-xinstall4
1 files changed, 1 insertions, 3 deletions
diff --git a/install b/install
index 5da3f6c..7e7ecb0 100755
--- a/install
+++ b/install
@@ -8,8 +8,6 @@ find assets/root/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; F
# js bvr fajli
mkdir -p dist/js
-cd assets/js
# js ne znam te magije
-find . -type f \( ! -name "*.bvr" \) | cpio -pdm ../../dist/js
-cd ../../
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\""
+find assets/js/ -name "*.js" -printf "%P\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\${FILE/.bvr/}"; echo ./bin/jsmin assets/js/\"\$FILE\" \"\$FILE_DST\""