Copy other files into output.
This commit is contained in:
parent
c901bc3b0c
commit
bfcd194a09
@ -187,6 +187,12 @@ function build_project()
|
|||||||
php $WORKDESK/$i > $OUT_FILE
|
php $WORKDESK/$i > $OUT_FILE
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for i in $(find site/ -type f -not -name '*.php')
|
||||||
|
do
|
||||||
|
mkdir -p ./output/${i%/*}
|
||||||
|
cp $i ./output/$i
|
||||||
|
done
|
||||||
|
|
||||||
rm -r $WORKDESK
|
rm -r $WORKDESK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user