summaryrefslogblamecommitdiffstats
path: root/install
blob: b03e2b3b16ecb15d0010d606162a0a4b479eb499 (plain) (tree)
1
2
3
4
5
6
7
           
                                                      


                        

                                                                                                                                                                          




                                                                                                                                                                         
#!/bin/bash
./bin/compose-html assets/pages-src/ dist/pages/ .html
cp -r assets/css dist/
cp -r assets/fonts dist/
cp -r assets/img 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\""