diff --git a/Rakefile b/Rakefile index 61700eead..37cb9b39e 100644 --- a/Rakefile +++ b/Rakefile @@ -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. diff --git a/package.json b/package.json index 1845b8631..5f348dec3 100644 --- a/package.json +++ b/package.json @@ -4,5 +4,8 @@ "description": "Logic-less {{mustache}} templates with JavaScript", "author": "mustache.js Authors ", "keywords": ["mustache", "template", "templates", "ejs"], - "main": "./mustache" + "main": "./mustache", + "devDependencies": { + "vows": "0.6.x" + } }