Skip to content
Browse files

Added simple Makefile

For controlling minifying moot
  • Loading branch information...
1 parent 8d417ba commit d81c523dc3796d56d8bb0014e113b49734138f5b @lilspikey committed Apr 19, 2011
Showing with 14 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +13 −0 Makefile
View
1 .gitignore
@@ -0,0 +1 @@
+/dist
View
13 Makefile
@@ -0,0 +1,13 @@
+SRC_DIR = src
+DIST_DIR = dist
+
+COMPILER = `which uglifyjs`
+
+all:
+ @@ if test ! -z ${COMPILER}; then \
+ mkdir -p dist; \
+ echo "Minifying moot.js"; \
+ ${COMPILER} src/moot.js > dist/moot.min.js; \
+ else \
+ echo "You must have unglifyjs installed in order to minify moot."; \
+ fi

0 comments on commit d81c523

Please sign in to comment.
Something went wrong with that request. Please try again.