Sha256: b2cbbb2bf9fd8841585dc0c3ef492cbb82f1ccd69addbec516ea98d6af2f1da9
Contents?: true
Size: 867 Bytes
Versions: 24
Compression:
Stored size: 867 Bytes
Contents
require 'rake' require 'rake/testtask' task :default => "test:units" namespace :test do desc "Runs the unit tests for perennial" Rake::TestTask.new("units") do |t| t.pattern = 'test/*_test.rb' t.libs << 'test' t.verbose = true end end task :gemspec do require 'rubygems' require File.join(File.dirname(__FILE__), "lib", "<%= @application_path %>") spec = Gem::Specification.new do |s| s.name = '<%= @application_path %>' s.email = '' s.homepage = '' s.authors = ["YOUR NAME"] s.version = <%= @application_module %>::VERSION s.summary = "" s.files = FileList["{bin,vendor,lib,test}/**/*"].to_a s.platform = Gem::Platform::RUBY s.add_dependency "Sutto-perennial", ">= <%= Perennial::VERSION %>" end File.open("<%= @application_path %>.gemspec", "w+") { |f| f.puts spec.to_ruby } end
Version data entries
24 entries across 24 versions & 2 rubygems