'Hide' currently unusable Rake tasks
This commit is contained in:
parent
5cfb019b6b
commit
841e93fc09
7
Rakefile
7
Rakefile
|
@ -102,7 +102,6 @@ jasmine.version_= {
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
desc "Run jasmine tests of source via server"
|
|
||||||
task :server do
|
task :server do
|
||||||
files = jasmine_sources + ['lib/TrivialReporter.js', 'lib/consolex.js']
|
files = jasmine_sources + ['lib/TrivialReporter.js', 'lib/consolex.js']
|
||||||
jasmine_includes = lambda {
|
jasmine_includes = lambda {
|
||||||
|
@ -112,14 +111,12 @@ jasmine.version_= {
|
||||||
start_jasmine_server(jasmine_includes)
|
start_jasmine_server(jasmine_includes)
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Build jasmine and run tests via server"
|
|
||||||
task :server_build => 'jasmine:build' do
|
task :server_build => 'jasmine:build' do
|
||||||
|
|
||||||
start_jasmine_server
|
start_jasmine_server
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :test do
|
namespace :test do
|
||||||
desc "Run continuous integration tests using a local Selenium runner"
|
|
||||||
task :ci => :'ci:local'
|
task :ci => :'ci:local'
|
||||||
namespace :ci do
|
namespace :ci do
|
||||||
|
|
||||||
|
@ -133,7 +130,6 @@ jasmine.version_= {
|
||||||
Rake::Task[:lambda_ci].invoke
|
Rake::Task[:lambda_ci].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Run continuous integration tests using Sauce Labs 'Selenium in the Cloud'"
|
|
||||||
task :saucelabs => ['jasmine:copy_saucelabs_config', 'jasmine:build'] do
|
task :saucelabs => ['jasmine:copy_saucelabs_config', 'jasmine:build'] do
|
||||||
ENV['SAUCELABS'] = 'true'
|
ENV['SAUCELABS'] = 'true'
|
||||||
Rake::Task['jasmine:test:ci:local'].invoke
|
Rake::Task['jasmine:test:ci:local'].invoke
|
||||||
|
@ -147,7 +143,6 @@ jasmine.version_= {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Run specs via server"
|
|
||||||
task :jasmine => ['jasmine:server']
|
task :jasmine => ['jasmine:server']
|
||||||
|
|
||||||
namespace :gems do
|
namespace :gems do
|
||||||
|
@ -155,4 +150,4 @@ namespace :gems do
|
||||||
task :geminstaller do
|
task :geminstaller do
|
||||||
`geminstaller --sudo`
|
`geminstaller --sudo`
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue