Просмотр исходного кода

Run unit tests using vows (requires node)

tags/0.5.1
Michael Jackson 14 лет назад
Родитель
Сommit
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
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 # 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 # output file. There is some extra complexity because Dojo and YUI use
# different final locations. # different final locations.


+ 4
- 1
package.json Просмотреть файл

@@ -4,5 +4,8 @@
"description": "Logic-less {{mustache}} templates with JavaScript", "description": "Logic-less {{mustache}} templates with JavaScript",
"author": "mustache.js Authors <http://github.com/janl/mustache.js>", "author": "mustache.js Authors <http://github.com/janl/mustache.js>",
"keywords": ["mustache", "template", "templates", "ejs"], "keywords": ["mustache", "template", "templates", "ejs"],
"main": "./mustache"
"main": "./mustache",
"devDependencies": {
"vows": "0.6.x"
}
} }

Загрузка…
Отмена
Сохранить