lib/tasks/scala.rake in picsolve_docker_builder-0.3.2 vs lib/tasks/scala.rake in picsolve_docker_builder-0.4.0
- old
+ new
@@ -7,5 +7,19 @@
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