Sha256: d62c116815a98fe29355a5b43fc5f0f6cba97be5032ba2aa521d0d9e88eb3178
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
task :default => :spec task :test => :spec desc "Build a gem" task :gem => [ :gemspec, :build ] desc "Run specs" task :spec do exec "spec -fn -b -c spec/" end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "fixed_width" gemspec.summary = "A gem that provides a DSL for parsing and writing files of fixed-width records." gemspec.description = <<END A gem that provides a DSL for parsing and writing files of fixed-width records. Shamelessly forked from ryanwood/slither [http://github.com/ryanwood/slither]. Renamed the gem to be a little clearer as to its purpose. Hate that 'nokogiri' nonsense. END gemspec.email = "timon.karnezos@gmail.com" gemspec.homepage = "http://github.com/timonk/fixed_width" gemspec.authors = ["Timon Karnezos"] end rescue LoadError warn "Jeweler not available. Install it with:" warn "gem install jeweler" end require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION') version = File.read('VERSION') else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "rprince #{version}" rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fixed_width-0.2.1 | Rakefile |