Sha256: 62da8da87d80fad98b6ff715222c468e8194fc9641a18bbfb339415fc0198abd
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
getopt-1.3.7 | Rakefile |