mirror of https://github.com/status-im/consul.git
ui: Automatically replace assets
This commit is contained in:
parent
48cdc8c586
commit
b26b774689
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue