3 changed files with 31 additions and 4 deletions
@ -1,9 +1,28 @@ |
|||
TARGET="jpc-like-websites.js" |
|||
SRC="src/js" |
|||
ORDERED_LIST="alignment.js arrangement.js color.js commonEvents.js componentAttribute.js sizeSideDependence.js modifier.js context.js component.js baseComponents.js builder.js" |
|||
SRC="src" |
|||
|
|||
SUB_LIST="siding.js shapes.js border.js dimensions.js" |
|||
MODIFIERS_LIST="alignment.js arrangement.js modifier.js" |
|||
HIGHER_LIST="commonEvents.js context.js component.js baseComponents.js builder.js" |
|||
|
|||
echo "" > $TARGET |
|||
echo "/* ## color.js ## */" >> $TARGET |
|||
cat $SRC/color.js >> $TARGET |
|||
|
|||
echo "/* # SUB_LIST # */" >> $TARGET |
|||
for i in $SUB_LIST; do |
|||
echo "/* ## $i ## */" >> $TARGET |
|||
cat $SRC/sizeSide/$i >> $TARGET |
|||
done |
|||
|
|||
echo "/* # MODIFIERS_LIST # */" >> $TARGET |
|||
for i in $MODIFIERS_LIST; do |
|||
echo "/* ## $i ## */" >> $TARGET |
|||
cat $SRC/$i >> $TARGET |
|||
done |
|||
|
|||
for i in $ORDERED_LIST; do |
|||
echo "/* # HIGHER_LIST # */" >> $TARGET |
|||
for i in $HIGHER_LIST; do |
|||
echo "/* ## $i ## */" >> $TARGET |
|||
cat $SRC/$i >> $TARGET |
|||
done |
|||
|
Loading…
Reference in new issue