|
|
@ -15,6 +15,9 @@ do
|
|
|
|
echo "\"$(basename ${dir})\": {"
|
|
|
|
echo "\"$(basename ${dir})\": {"
|
|
|
|
|
|
|
|
|
|
|
|
# Do not embed map files and the non-minified bootstrap files.
|
|
|
|
# Do not embed map files and the non-minified bootstrap files.
|
|
|
|
|
|
|
|
# TODO(beorn7): There should be a better solution than hardcoding the
|
|
|
|
|
|
|
|
# exclusion here. We might want to switch to a less makeshift way of
|
|
|
|
|
|
|
|
# embedding files into the binary anyway...
|
|
|
|
find . -type f \! -name \*.map \! -name bootstrap.js \! -name bootstrap-theme.css \! -name bootstrap.css | while read file
|
|
|
|
find . -type f \! -name \*.map \! -name bootstrap.js \! -name bootstrap-theme.css \! -name bootstrap.css | while read file
|
|
|
|
do
|
|
|
|
do
|
|
|
|
name=$(echo "${file}"|sed 's|\.\/||')
|
|
|
|
name=$(echo "${file}"|sed 's|\.\/||')
|
|
|
|