Sha256: 18d98ac7a67325fd36bec7b034e17ab9d3bb96f87756560e8b7ed88062691c85
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
require 'rake/testtask' require 'rubygems/package_task' gemspec = eval(File.read('liquidprof.gemspec')) Gem::PackageTask.new(gemspec) do |pkg| pkg.gem_spec = gemspec end desc "Build the gem and release it to rubygems.org" task :release => :gem do sh "gem push pkg/liquidprof-#{gemspec.version}.gem" end Rake::TestTask.new(:test) do |t| t.libs << 'test' end Rake::TestTask.new(:test_liquid) do |t| t.test_files = FileList['test/liquid/test/liquid/*_test.rb'] t.libs << 'test/liquid/test' end desc "Run tests" task :default => :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
liquidprof-0.0.1 | Rakefile |