diff options
Diffstat (limited to '')
-rwxr-xr-x | install | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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\"" |