desc 'Generates the MANIFEST file' task :manifest => [:generate] do files = FILE_LIST.to_a.sort handle = File.open(File.expand_path('../../MANIFEST', __FILE__), 'w') handle.write(files.join("\n")) handle.close end