Sha256: d7b27e7cee0ce0295e12b2372dfdd672732308c1f3bffa68e69a68edc2f84d4d
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# encoding: utf-8 require 'rubygems' require 'bundler' require 'semver' def s_version SemVer.find.format "%M.%m.%p%s" end 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://docs.rubygems.org/read/chapter/20 for more options gem.name = "rubyneat" gem.homepage = "http://rubyneat.com" gem.license = "MIT" gem.summary = %Q{RubyNEAT NeuralEvolution of Augmenting Topologies} gem.version = s_version gem.description = %Q{ NEAT Algorithm for Ruby. } gem.email = "fred@lrcsoft.com" gem.authors = ["Fred Mitchell"] # dependencies defined in Gemfile # Exclude the Neural Docs directory gem.files.exclude 'Neural_Docs/*' end Jeweler::RubygemsDotOrgTasks.new require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end task :default => :spec require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = s_version rdoc.rdoc_dir = 'rdoc' rdoc.title = "rubyneat #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('rnlib/**/*.rb') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubyneat-0.3.5.alpha.3 | Rakefile |
rubyneat-0.3.5.alpha.2 | Rakefile |