Sha256: 25f6ffb880f3ecf2e23dd8c3996e8c26fc16d3e42a80515da4ef9f980f218fc6
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
lib_dir = File.expand_path(File.join(File.dirname(__FILE__), "lib")) $:.unshift(lib_dir) $:.uniq! require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/packagetask' require 'rake/gempackagetask' require 'rake/contrib/rubyforgepublisher' require 'spec/rake/spectask' require File.join(File.dirname(__FILE__), 'lib/instrument', 'version') PKG_DISPLAY_NAME = 'Instrument' PKG_NAME = PKG_DISPLAY_NAME.downcase PKG_VERSION = Instrument::VERSION::STRING PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" RELEASE_NAME = "REL #{PKG_VERSION}" RUBY_FORGE_PROJECT = PKG_NAME RUBY_FORGE_USER = "sporkmonger" RUBY_FORGE_PATH = "/var/www/gforge-projects/#{RUBY_FORGE_PROJECT}" RUBY_FORGE_URL = "http://#{RUBY_FORGE_PROJECT}.rubyforge.org/" PKG_SUMMARY = "Template-based Controls" PKG_DESCRIPTION = <<-TEXT Instrument is a simple library for producing dynamically generated "controls" with various templating languages. TEXT PKG_FILES = FileList[ "lib/**/*", "spec/**/*", "vendor/**/*", "tasks/**/*", "website/**/*", "[A-Z]*", "Rakefile" ].exclude(/database\.yml/).exclude(/[_\.]git$/) RCOV_ENABLED = (RUBY_PLATFORM != "java" && RUBY_VERSION =~ /^1\.8/) if RCOV_ENABLED task :default => "spec:verify" else task :default => "spec" end WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS']) Dir['tasks/**/*.rake'].each { |rake| load rake }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
instrument-0.1.3 | Rakefile |