Commit 2a3e851a authored by tomhuda's avatar tomhuda

Bring back "the craziness"

Some of "the craziness" was allowing us to run
tests without node incantations.
parent 6a470b7c
......@@ -29,4 +29,21 @@ task :push => :dist do
sh "git commit -m 'Updates build artifacts'"
end
file "promise-tests" do
sh "git clone https://github.com/domenic/promise-tests.git"
end
task :update_tests => "promise-tests" do
cd "promise-tests" do
sh "git pull"
sh "npm install"
end
end
task :test => :update_tests do
cd "promise-tests" do
sh "node ./lib/cli.js all ../tests/test-adapter.js"
end
end
task :default => [:browser]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment