Sha256: f3f802adaaed9490f4165ebdbcb0c43020f973a015a146d031ad7115a6464ff1
Contents?: true
Size: 857 Bytes
Versions: 1
Compression:
Stored size: 857 Bytes
Contents
require 'bundler/gem_tasks' task :default do require './lib/genebrand/version' `gem uninstall genebrand -x` `rm ./genebrand-*.gem` `gem build genebrand.gemspec` `gem install ./genebrand-#{Genebrand::VERSION}.gem` end task :preseed do require './lib/genebrand/posparser.rb' parser = Genebrand::PosParser.new parser.parseandsave_preseed('seed/pos.txt', 'seed/preseed.txt') end task :seed do require './lib/genebrand/posparser.rb' puts "May (and will) take a while" puts "Parsing all data" parser = Genebrand::PosParser.new parser.parseandsave('seed/preseed.txt', 'lib/data/posinfo.json') puts "Parsing with top 100k" parser.parseandsave_top('seed/preseed.txt', 'seed/100k.txt', 'lib/data/pos100k.json') puts "Parsing with top 10k" parser.parseandsave_top('seed/preseed.txt', 'seed/10k.txt', 'lib/data/pos10k.json') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
genebrand-0.2.0 | Rakefile |