Sha256: 04c81f0a3c11751220b7e9fea97f37ac7f38326800dd80c6f532f7c5581a3c76

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 Bytes

Contents

require 'picsolve_docker_builder/scala'

spec = Gem::Specification.find_by_name 'picsolve_docker_builder'
load "#{spec.gem_dir}/lib/tasks/docker.rake"

namespace :docker do
  desc 'prepare the build environment'
  task :prepare do
    @docker_builder ||= PicsolveDockerBuilder::Scala.new
  end
end

namespace :scala do
  namespace :lib do
    desc 'build & publish a scala library snapshot'
    task snapshot: :'docker:prepare' do
      @docker_builder.sbt_lib_snapshot
    end

    desc 'build & publish a scala library release'
    task release: :'docker:prepare' do
      @docker_builder.sbt_lib_release
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picsolve_docker_builder-0.5.5 lib/tasks/scala.rake
picsolve_docker_builder-0.5.4 lib/tasks/scala.rake
picsolve_docker_builder-0.5.3 lib/tasks/scala.rake
picsolve_docker_builder-0.5.2 lib/tasks/scala.rake
picsolve_docker_builder-0.5.1 lib/tasks/scala.rake
picsolve_docker_builder-0.5.0 lib/tasks/scala.rake
picsolve_docker_builder-0.4.0 lib/tasks/scala.rake