summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-20 21:32:12 +0200
committerrstular <rok@stular.eu>2020-05-20 21:32:12 +0200
commit1df0f474227ffeb901e6c1a26d51e8bd04a9e25d (patch)
tree8676dad6195658317a1e2258461b4f07a2b12dbb /install
parentChangelog (diff)
parentforgot i'm not doing anything (diff)
downloadbeziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.tar
beziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.tar.gz
beziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.tar.bz2
beziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.tar.lz
beziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.tar.xz
beziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.tar.zst
beziapp-1df0f474227ffeb901e6c1a26d51e8bd04a9e25d.zip
Diffstat (limited to '')
-rwxr-xr-xinstall4
1 files changed, 1 insertions, 3 deletions
diff --git a/install b/install
index 5da3f6c..2343d91 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/}"; ./bin/jsmin assets/js/\"\$FILE\" \"\$FILE_DST\""