lib/dply/task_dsl.rb in dply-0.3.8 vs lib/dply/task_dsl.rb in dply-0.3.9
- old
+ new
@@ -35,9 +35,11 @@
def archive(name, **opts, &block)
require_relative 'code_archive'
revision = ENV["BUILD_NUMBER"] || "unknown"
archive = CodeArchive.new(name, revision: revision)
archive.build(**opts, &block)
+ archive.depcheck!
+ archive.compress!
return archive
end
def role(*roles, &block)
roles << :all