Rakefile in getopt-1.3.7 vs Rakefile in getopt-1.3.8

- old
+ new

@@ -1,22 +1,22 @@ -require 'rake' -require 'rake/testtask' - -desc "Install the getopt package (non-gem)" -task :install do - dest = File.join(Config::CONFIG['sitelibdir'], 'getopt') - Dir.mkdir(dest) unless File.exists? dest - cp 'lib/getopt/std.rb', dest, :verbose => true - cp 'lib/getopt/long.rb', dest, :verbose => true -end - -desc "Install the getopt package as a gem" -task :install_gem do - ruby 'getopt.gemspec' - file = Dir["*.gem"].first - sh "gem install #{file}" -end - -Rake::TestTask.new do |t| - t.warning = true - t.verbose = true -end +require 'rake' +require 'rake/testtask' + +desc "Install the getopt package (non-gem)" +task :install do + dest = File.join(Config::CONFIG['sitelibdir'], 'getopt') + Dir.mkdir(dest) unless File.exists? dest + cp 'lib/getopt/std.rb', dest, :verbose => true + cp 'lib/getopt/long.rb', dest, :verbose => true +end + +desc "Install the getopt package as a gem" +task :install_gem do + ruby 'getopt.gemspec' + file = Dir["*.gem"].first + sh "gem install #{file}" +end + +Rake::TestTask.new do |t| + t.warning = true + t.verbose = true +end