1
0
Fork 0

Added browser-test-min.html

closure/master
Mike Gerwitz 2011-12-03 12:56:37 -05:00
parent 075e73e4d1
commit 599f100cfa
1 changed files with 6 additions and 4 deletions

View File

@ -36,8 +36,10 @@ $(path_combine_output): $(src_js) | mkbuild
${combine} > "$(path_combine_output)" ${combine} > "$(path_combine_output)"
$(path_combine_output_full): $(src_js) $(src_tests) | mkbuild $(path_combine_output_full): $(src_js) $(src_tests) | mkbuild
INC_TEST=1 "$(combine)" > "${path_combine_output_full}" INC_TEST=1 "$(combine)" > "${path_combine_output_full}"
$(path_build)/browser-test.html: $(path_combine_output_full) $(path_build)/browser-test.html: $(path_browser_test) | $(path_combine_output_full)
cp "$(path_browser_test)" "$(path_build)" 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 combine: $(path_combine_output) $(path_build)/browser-test.html
doc: doc:
@ -51,10 +53,10 @@ perf: default $(perf_tests)
perf-%.js: default perf-%.js: default
@node $@ @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 build/%.min.js: build/%.js
cat $(path_tools)/license.tpl > $@ cat $(path_tools)/license.tpl > $@
node $(path_tools)/minify.js < $< >> $@ node $(path_tools)/minify.js < $< > $@
install: doc-info install: doc-info
[ -d $(path_info_install) ] || mkdir -p $(path_info_install) [ -d $(path_info_install) ] || mkdir -p $(path_info_install)