Sha256: 588bd456f40e7ea88258f0f412838ee3ac180471a36369316f3822a602036506
Contents?: true
Size: 447 Bytes
Versions: 3
Compression:
Stored size: 447 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new task :default => :spec task :test => :spec current_directory = File.expand_path(File.dirname(__FILE__)) desc "run specs inside docker" task :docker_spec do system("docker build -t invoker-ruby . ") puts "********** Building image is done **********" system("docker run --name invoker-rspec --rm -v #{current_directory}:/invoker:z -t invoker-ruby") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
invoker-1.5.6 | Rakefile |
invoker-1.5.5 | Rakefile |
invoker-1.5.4 | Rakefile |