Sha256: 83771ad260339b1ad7b0a3b5a8c4fdeebfca8c74bcbdcf84b008f46814255623

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

#!/usr/bin/env gem build
# encoding: utf-8

# NOTE: we can't use require_relative because when we run gem build, it use eval for executing this file
#$:.unshift(File.join(File.dirname(__FILE__), "lib"))
#require "nake"
require "base64"

Gem::Specification.new do |s|
  s.name = "nake"
  s.version = "0.0.9.3"
  s.authors = ["Jakub Šťastný aka Botanicus"]
  s.homepage = "http://github.com/botanicus/nake"
  s.summary = "Nake is light-weight and highly flexible Rake replacement with much better arguments parsing"
  s.description = "" # TODO: long description
  s.email = Base64.decode64("c3Rhc3RueUAxMDFpZGVhcy5jeg==\n")
  s.has_rdoc = true

  # files
  s.files = `git ls-files`.split("\n")

  s.executables = Dir["bin/*"].map(&File.method(:basename))
  s.default_executable = "nake"
  s.require_paths = ["lib"]

  # Ruby version
  s.required_ruby_version = ::Gem::Requirement.new("~> 1.9")

  # dependencies
  s.add_dependency "term-ansicolor"

  begin
    require "changelog"
  rescue LoadError
    warn "You have to have changelog gem installed for post install message"
  else
    s.post_install_message = CHANGELOG.new.version_changes
  end

  # RubyForge
  s.rubyforge_project = "nake"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nake-0.0.9.3 nake.gemspec