lib/choctop/rake_tasks.rb in choctop-0.14.0 vs lib/choctop/rake_tasks.rb in choctop-0.14.1

- old
+ new

@@ -12,16 +12,19 @@ task :clean_build do FileUtils.rm_rf(build_path) end - desc "Create the dmg file for appcasting" - task :dmg => :build do + desc "Create the dmg file for appcasting (`rake dmg`, or `rake dmg[automount]` to automatically mount the dmg)" + task :dmg, :automount, :needs => :build do |t, args| + args.with_defaults(:automount => false) + detach_dmg make_dmg detach_dmg convert_dmg_readonly add_eula + mount_dmg if args[:automount] end desc "Create/update the appcast file" task :feed do make_appcast \ No newline at end of file