Skip to content

Commit

Permalink
content_for. tests. resolvDefs from olado's upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
printercu committed Jan 13, 2013
1 parent f817b38 commit 05ac7e3
Show file tree
Hide file tree
Showing 7 changed files with 207 additions and 71 deletions.
22 changes: 22 additions & 0 deletions Makefile
@@ -0,0 +1,22 @@
BIN := node_modules/.bin
UGLIFY := $(BIN)/uglifyjs
COFFEE := $(BIN)/coffee
MOCHA := $(BIN)/mocha

TARGETS := doT.js dot-compile.js dot-express.js

all: uglify

uglify: compile
$(UGLIFY) -o doT.min.js doT.js

compile: $(TARGETS)

%.js: src/%.coffee
$(COFFEE) -co ./ "$<"

clean:
rm -f $(TARGETS) *.min.js

test: compile
$(MOCHA)
81 changes: 55 additions & 26 deletions doT.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doT.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -15,7 +15,8 @@
},
"devDependencies": {
"coffee-script": "*",
"uglify-js": "*"
"uglify-js": "*",
"mocha": "*"
},
"scripts": {
"test": "test"
Expand Down

0 comments on commit 05ac7e3

Please sign in to comment.