Sha256: 689b4588348e234be86cd477d454e74b2d39da3fe6ed8433bac0974913d09c55
Contents?: true
Size: 740 Bytes
Versions: 1
Compression:
Stored size: 740 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' require 'yard' # Test tasks Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/**/*_test.rb'] t.warning = false end YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb'] # optional t.options = %w{--private} # optional t.stats_options = ['--list-undoc'] # optional end # Default task task :default => :test task :gen_checksum do require 'digest/sha2' built_gem_path = 'pkg/comicvine-'+ComicVine::VERSION+'.gem' checksum = Digest::SHA256.new.hexdigest(File.read(built_gem_path)) checksum_path = 'checksum/comicvine-'+ComicVine::VERSION+'.gem.sha256' File.open(checksum_path, 'w' ) {|f| f.write(checksum) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comicvine-0.1.2 | Rakefile |