From 599f100cfac925aef773457bff13c548d87b0879 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 3 Dec 2011 12:56:37 -0500 Subject: [PATCH] Added browser-test-min.html --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 013e76a..5fdb35d 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,10 @@ $(path_combine_output): $(src_js) | mkbuild ${combine} > "$(path_combine_output)" $(path_combine_output_full): $(src_js) $(src_tests) | mkbuild INC_TEST=1 "$(combine)" > "${path_combine_output_full}" -$(path_build)/browser-test.html: $(path_combine_output_full) - cp "$(path_browser_test)" "$(path_build)" +$(path_build)/browser-test.html: $(path_browser_test) | $(path_combine_output_full) + cp "$(path_browser_test)" $@ +$(path_build)/browser-test-min.html: $(path_browser_test) | $(path_combine_output_full) + cat "$(path_browser_test)" | sed 's/ease-full\.js/ease-full\.min\.js/' > $@ combine: $(path_combine_output) $(path_build)/browser-test.html doc: @@ -51,10 +53,10 @@ perf: default $(perf_tests) perf-%.js: default @node $@ -min: build/ease.min.js build/ease-full.min.js +min: build/ease.min.js build/ease-full.min.js $(path_build)/browser-test-min.html build/%.min.js: build/%.js cat $(path_tools)/license.tpl > $@ - node $(path_tools)/minify.js < $< >> $@ + node $(path_tools)/minify.js < $< > $@ install: doc-info [ -d $(path_info_install) ] || mkdir -p $(path_info_install)