blob: 98f3e53c6de803c0190e5c1cf2a25a4f2134b205 [file] [log] [blame]
basepath=$(cd `dirname $0`; pwd)
node ${basepath}/build.js $1 # $1 is myname, than use configmyname.js but not config.js.
rm ${basepath}/../echarts-www/documents/cn/*
cp -R ${basepath}/public/cn/documents/cn/ ${basepath}/../echarts-www/documents/cn/
# asset
rm -r ${basepath}/../echarts-www/documents/asset/*
cp -R ${basepath}/asset/ ${basepath}/../echarts-www/documents/asset/
# github
node ${basepath}/build.js github
# blog
rm -r ${basepath}/../echarts-www/blog
cp -R ${basepath}/blog ${basepath}/../echarts-www/