Sha256: 60e6f5cabf6a389423f994575e6c141f32d680ff6cf085fe70208e4eb03da09c
Contents?: true
Size: 745 Bytes
Versions: 1
Compression:
Stored size: 745 Bytes
Contents
require 'date' require 'rake/clean' require 'rake/extensiontask' require 'digest/md5' task :default => [:test] # Gem Spec gem_spec = Gem::Specification.load('commonmarker.gemspec') # Ruby Extension Rake::ExtensionTask.new('commonmarker', gem_spec) do |ext| ext.lib_dir = File.join('lib', 'commonmarker') end # Packaging require 'bundler/gem_tasks' # Testing require 'rake/testtask' Rake::TestTask.new('test:unit') do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/test_*.rb' t.verbose = true t.warning = false end task 'test:unit' => :compile desc 'Run unit and conformance tests' task :test => %w[test:unit] desc 'Run benchmarks' task :benchmark => :compile do |t| $:.unshift 'lib' load 'test/benchmark.rb' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commonmarker-0.0.1 | Rakefile |