From b26b77468904404720caf87f278dabb311f5198e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 1 May 2014 12:43:16 -0700 Subject: [PATCH] ui: Automatically replace assets --- ui/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/Makefile b/ui/Makefile index cc5168e463..54c2c3d10c 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -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>##" -ibak dist/index.html .PHONY: server watch dist