From bac952e036f28ba43bdc39f7bf81dc509a80e35d Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 9 Nov 2014 18:42:42 +1100 Subject: [PATCH] move runtime to dist/runtime --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d16892dd1d..12c00715b2 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,9 @@ build: node $(BROWSERIFY_CMD) lib/6to5/browser.js -s to5 >dist/6to5.js node $(UGLIFY_CMD) dist/6to5.js >dist/6to5.min.js + node bin/6to5-runtime >dist/runtime.js + node $(UGLIFY_CMD) dist/runtime.js >dist/runtime.min.js + rm -rf templates.json publish: @@ -58,8 +61,7 @@ publish: make build cp dist/6to5.min.js browser.js cp dist/polyfill.min.js polyfill.js - - node bin/6to5-runtime >runtime.js + cp dist/runtime.min.js runtime.js node bin/cache-templates test -f templates.json