Sha256: 1d4d091ad8d3296e39c90dce82c14651bbf2318f9f40d33789dded9fb27204de
Contents?: true
Size: 668 Bytes
Versions: 3
Compression:
Stored size: 668 Bytes
Contents
# Tasks namespace :foreman_salt do namespace :example do desc 'Example Task' task :task => :environment do # Task goes here end end end # Tests namespace :test do desc "Test ForemanSalt" Rake::TestTask.new(:foreman_salt) do |t| test_dir = File.join(File.dirname(__FILE__), '../..', 'test') t.libs << ["test",test_dir] t.pattern = "#{test_dir}/**/*_test.rb" t.verbose = true end end Rake::Task[:test].enhance do Rake::Task['test:foreman_salt'].invoke end load 'tasks/jenkins.rake' if Rake::Task.task_defined?(:'jenkins:setup') Rake::Task["jenkins:unit"].enhance do Rake::Task['test:foreman_salt'].invoke end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foreman_salt-0.0.4 | lib/tasks/foreman_salt_tasks.rake |
foreman_salt-0.0.3 | lib/tasks/foreman_salt_tasks.rake |
foreman_salt-0.0.2 | lib/tasks/foreman_salt_tasks.rake |