Sha256: 853dca42c6a5c81308df7f776f65e075c81b1cb42b1cbee5a6a7e50d28f6ba7a
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "yard-parameters" gem.summary = %Q{A plugin for YARD for parsing parameters.} gem.description = %Q{yard-parameters is a plugin for YARD for parsing parameters.} gem.email = "postmodern.mod3@gmail.com" gem.homepage = "http://github.com/postmodern/yard-parameters" gem.authors = ["postmodern"] gem.add_dependency "yard", ">= 0.4.0" gem.add_development_dependency "rspec", ">= 1.3.0" gem.has_rdoc = 'yard' end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs += ['lib', 'spec'] spec.spec_files = FileList['spec/**/*_spec.rb'] spec.spec_opts = ['--options', '.specopts'] end task :spec => :check_dependencies task :default => :spec begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError task :yard do abort "YARD is not available. In order to run yard, you must: gem install yard" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yard-parameters-0.1.1 | Rakefile |
yard-parameters-0.1.0 | Rakefile |