Sha256: c031891c5f1f72c545c295d94dc01357d954292a99f22510a80d0562f2e336cd
Contents?: true
Size: 729 Bytes
Versions: 1
Compression:
Stored size: 729 Bytes
Contents
require "rubygems" require "rake/testtask" require "rake/gempackagetask" task :default => :test Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList["test/test_*.rb"] t.verbose = true end Rake::GemPackageTask.new(eval(IO.read(File.join(File.dirname(__FILE__), "sprockets.gemspec")))) do |pkg| require File.join(File.dirname(__FILE__), "lib", "sprockets", "version") raise "Error: Sprockets::Version doesn't match gemspec" if Sprockets::Version::STRING != pkg.version.to_s pkg.need_zip = true pkg.need_tar = true end namespace :manifest do task :generate do files = Dir["Rakefile", "bin/**/*", "lib/**/*", "test/**/*", "ext/**/*"] File.open("MANIFEST.txt", "w"){|f| f.puts *files } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amiel-sprockets-1.0.5 | Rakefile |