Sha256: 41a2c2a901f282719065e9d00c5fc2e34004aa5412622dd02aa211942c314f8c
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 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 . ") system("docker run --name invoker-rspec --rm -v #{current_directory}:/invoker -t invoker-ruby") end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
invoker-1.5.3 | Rakefile |
meepo-1.5.2 | Rakefile |
invoker-1.5.1 | Rakefile |