Skip to content

Commit

Permalink
Removed Eventable from the make file
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Holt authored and etgryphon committed Mar 12, 2014
1 parent 6848a2f commit 68b6470
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions Makefile
@@ -1,26 +1,14 @@
MIN_NAME=stativus-min.js
EVENTED_NAME=stativus-evt-min.js
FULL_NAME=stativus-full.js
EVTN_FULL_NAME=stativus-evt-full.js

all: full efull minified evented
all: full minified

full: stativus.js
@@rm -f ./libs/$(FULL_NAME)
@@preprocess ./stativus.js -DEBUG=false -EVENTABLE=false > ./libs/$(FULL_NAME)
@@preprocess ./stativus.js -DEBUG=false > ./libs/$(FULL_NAME)
@@echo 'Uncompressed production version built'

efull: stativus.js
@@rm -f ./libs/$(EVTN_FULL_NAME)
@@preprocess ./stativus.js -DEBUG=false -EVENTABLE=true > ./libs/$(EVTN_FULL_NAME)
@@echo 'Uncompressed production eventable version built'

minified: full
@@rm -f ./libs/$(MIN_NAME)
@@uglifyjs ./libs/$(FULL_NAME) --comments -m -o ./libs/$(MIN_NAME) --source-map ./build_log/$(MIN_NAME).map
@@echo 'Basic Minified version built'

evented: efull
@@rm -f ./libs/$(EVENTED_NAME)
@@uglifyjs ./libs/$(EVTN_FULL_NAME) --comments -m -o ./libs/$(EVENTED_NAME) --source-map ./build_log/$(EVENTED_NAME).map
@@echo 'Minified Evented version built'

0 comments on commit 68b6470

Please sign in to comment.