tasks/manifest.rake in cosmos-3.5.1 vs tasks/manifest.rake in cosmos-3.5.2

- old
+ new

@@ -1,22 +1,22 @@ -# encoding: ascii-8bit - -# Copyright 2014 Ball Aerospace & Technologies Corp. -# All Rights Reserved. -# -# This program is free software; you can modify and/or redistribute it -# under the terms of the GNU General Public License -# as published by the Free Software Foundation; version 3 with -# attribution addendums as found in the LICENSE.txt - -desc 'Create a new manifest' -task :manifest do - puts "Now calculating the file list from git. Please wait..." - fn = 'Manifest.txt' - # Ask git what all our files are - files = `git ls-tree --full-tree -r --name-only HEAD`.split($\) - # Remove all the directories - files.reject! {|f| File::Stat.new(f).directory? or f.include?("vendor") } - # Write out the manifest file - File.open(fn, 'w') {|fp| fp.puts files.sort} - puts "Successfully created #{fn}." -end +# encoding: ascii-8bit + +# Copyright 2014 Ball Aerospace & Technologies Corp. +# All Rights Reserved. +# +# This program is free software; you can modify and/or redistribute it +# under the terms of the GNU General Public License +# as published by the Free Software Foundation; version 3 with +# attribution addendums as found in the LICENSE.txt + +desc 'Create a new manifest' +task :manifest do + puts "Now calculating the file list from git. Please wait..." + fn = 'Manifest.txt' + # Ask git what all our files are + files = `git ls-tree --full-tree -r --name-only HEAD`.split($\) + # Remove all the directories + files.reject! {|f| File::Stat.new(f).directory? or f.include?("vendor") } + # Write out the manifest file + File.open(fn, 'w') {|fp| fp.puts files.sort} + puts "Successfully created #{fn}." +end