From 5dc171bc1178da9bee880c30b1d3ad7267070442 Mon Sep 17 00:00:00 2001 From: jrburke Date: Thu, 6 Jan 2011 16:10:26 -0800 Subject: [PATCH] Update /dev/ references in html files to include build version --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index bbb7fdb..f9b778f 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,8 @@ web: $(static_dir) $(static_dir): rsync -av $(web_dir)/ $(static_dir)/ + find $(static_dir) -name \*.html | xargs perl -i -pe 's:/dev/:/$(version)/:go' + cd $(static_dir) && $(requirejs_dir)/build/build.sh build.js cd $(static_dir)/settings && $(requirejs_dir)/build/build.sh build.js cd $(static_dir)/share && $(requirejs_dir)/build/build.sh build.js