From 05525e62f5b104c4f0826f966b3d3bd62ed0a0f4 Mon Sep 17 00:00:00 2001 From: "Nicolab.net" Date: Sat, 13 Sep 2014 18:29:19 +0200 Subject: [PATCH] [browser] Update Makefile --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d1659ca..11f1cd0 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,16 @@ +info='/*! Noder.io | (c) 2014 Nicolas Tallefourtane | http://noder.io */' + browser-build: browser-build-prod browser-build-dev browser-build-prod: - @webpack src/browser.js browser/noder.js --progress --colors -p + @webpack src/browser.js browser/noder.js --progress --colors -p \ + && (echo $(info); cat browser/noder.js) > tmpn \ + && mv tmpn browser/noder.js + browser-build-dev: - @webpack src/browser.js browser/noder-dev.js --progress --colors -d + @webpack src/browser.js browser/noder-dev.js --progress --colors -d \ + && (echo $(info); cat browser/noder-dev.js) > tmpnd \ + && mv tmpnd browser/noder-dev.js .PHONY: browser-build \ No newline at end of file