瀏覽代碼

Run unit tests using vows (requires node)

tags/0.5.1
Michael Jackson 14 年之前
父節點
當前提交
70a4f2b986
共有 2 個檔案被更改,包括 9 行新增1 行删除
  1. +5
    -0
      Rakefile
  2. +4
    -1
      package.json

+ 5
- 0
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.


+ 4
- 1
package.json 查看文件

@@ -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"
}
}

Loading…
取消
儲存