58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# File 'lib/flak/rake/templates/release.rb', line 58
def self.task_factory target
settings = target.settings
desc "Build everything"
task :build
CLEAN.include( File.dirname(settings[:build_directory]) )
CLOBBER.include( settings[:revision_directory])
desc "Release everything"
task :default => ["release"]
desc "Build and tar up product to tar.gz."
task :tar => :release do
Dir.chdir( settings[:platform_directory] ) do |d|
sh "tar cfz #{target.tar_filename} #{target.file_to_tar}"
end
end
end
|