Sha256: f509084596c186f810935d02b4c4bd623bddf57a96a200ed51b26305b81b6a69
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList['test/**/*_test.rb'] end task :default => :test desc "Build the docker image" task :docker_build do gem_version=`cat lib/brah/version.rb`.match(/\d\.\d\.\d/)[0] puts %x[docker build --build-arg GEM_VERSION=#{gem_version} -t brah .] end task :docker_build_image => :docker_build desc "Run brah to check it's installed" task :docker_run do puts %x[docker run -it --rm brah brah -h] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
brah-0.5.0 | Rakefile |
brah-0.4.0 | Rakefile |
brah-0.3.0 | Rakefile |