Skip to content

Commit

Permalink
[browser] Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab committed Sep 13, 2014
1 parent 9945192 commit 05525e6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 05525e6

Please sign in to comment.