blob: 5f5b941442ed6e5f3baeeb4e8fa4f7e8660b8168 (
plain) (
tree)
|
|
#!/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/
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\""
|