Sha256: b5449ad04e109e3370840ec78795a4cedde777f9a710f56b9c9952f89898aa01
Contents?: true
Size: 1.68 KB
Versions: 12
Compression:
Stored size: 1.68 KB
Contents
# encoding: utf-8 require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options gem.name = "apidragon" gem.homepage = "http://github.com/isand3r/apidragon" gem.license = "MIT" gem.summary = %Q{Ruby based CLI for accessing veracode's api} gem.description = %Q{Ruby based CLI for accessing veracode's api} gem.email = "isaiah.thiessen@live.ca" gem.authors = ["isaiah thiessen"] gem.files = `git ls-files`.split("\n") gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } gem.require_paths = ['lib'] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end require 'rubocop/rake_task' RuboCop::RakeTask.new(:rubocop) do |task| task.patterns = ['lib/**/*.rb'] task.fail_on_error = false end desc "Code coverage detail" task :simplecov do ENV['COVERAGE'] = "true" Rake::Task['test'].execute end require 'reek/rake/task' Reek::Rake::Task.new do |t| t.fail_on_error = true t.verbose = false t.source_files = 'lib/**/*.rb' end require 'roodi' require 'roodi_task' RoodiTask.new do |t| t.verbose = false end task :default => :test require 'yard' YARD::Rake::YardocTask.new
Version data entries
12 entries across 12 versions & 1 rubygems