Skip to content

Commit

Permalink
Run unit tests using vows (requires node)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Jun 4, 2012
1 parent 2fe464e commit 70a4f2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ task :spec do
end
end

desc "Run all unit tests"
task :test do
exec "vows test/*_test.js"
end

# Creates a task that uses the various template wrappers to make a wrapped
# output file. There is some extra complexity because Dojo and YUI use
# different final locations.
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"description": "Logic-less {{mustache}} templates with JavaScript",
"author": "mustache.js Authors <http://github.com/janl/mustache.js>",
"keywords": ["mustache", "template", "templates", "ejs"],
"main": "./mustache"
"main": "./mustache",
"devDependencies": {
"vows": "0.6.x"
}
}

0 comments on commit 70a4f2b

Please sign in to comment.