Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 591 Bytes
build:
grunt clean build
rm -rf _site
mkdir _site
cp -r dist/*.html dist/*.txt dist/*.xml dist/*.ico dist/images dist/scripts dist/views dist/styles dist/fonts/ _site/
mkdir -p _site/bower_components/es5-shim _site/bower_components/json3/lib/
cp dist/bower_components/es5-shim/es5-shim.min.js _site/bower_components/es5-shim/es5-shim.min.js
cp dist/bower_components/json3/lib/json3.min.js _site/bower_components/json3/lib/json3.min.js
deploy:
cp -r _site/* /usr/share/nginx/html/yijing.cn/
#rsync -c -r -ave 'ssh' _site/* freizl_duyijing@ssh.phx.nearlyfreespeech.net:/home/public