ui: Automatically replace assets

This commit is contained in:
Mitchell Hashimoto 2014-05-01 12:43:16 -07:00
parent 48cdc8c586
commit b26b774689
1 changed files with 2 additions and 0 deletions

View File

@ -13,5 +13,7 @@ dist:
@ruby scripts/compile.rb
cp -R ./static dist/static/
cp index.html dist/index.html
sed -E -e "/ASSETS/,/\/ASSETS/ d" -ibak dist/index.html
sed -E "s#<\/body>#<script src=\"static/application.min.js\"></script></body>#" -ibak dist/index.html
.PHONY: server watch dist