Add: easier to run tests

This commit is contained in:
João Távora
2012-11-06 13:27:37 +00:00
parent 38db5aa9fb
commit 1774d7cbd0
2 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,11 @@ end
find_version
FileUtils.mkdir_p('pkg')
desc "run tests in batch mode"
task :tests do
$EMACS=ENV["EMACS"] || "emacs"
sh "#{$EMACS} -Q -L . -l yasnippet-tests.el -nw --batch -e yas/ert"
end
desc "convert some textmate bundles to yasnippets"
task :convert_bundles do