Sha256: 7ee505f581acbcdf3a92b9723a38ea60853c7ea291e39b5459520b1875524bb3

Contents?: true

Size: 1.12 KB

Versions: 7

Compression:

Stored size: 1.12 KB

Contents

# -*- ruby -*-

require 'pathname'

base_dir = Pathname(__FILE__).dirname.expand_path
test_unit_dir = (base_dir.parent + "test-unit").expand_path
test_unit_lib_dir = test_unit_dir + "lib"
lib_dir = base_dir + "lib"

$LOAD_PATH.unshift(test_unit_lib_dir.to_s)
$LOAD_PATH.unshift(lib_dir.to_s)

require 'test/unit/notify'

require 'rubygems'
require 'hoe'

Test::Unit.run = true

version = Test::Unit::Notify::VERSION
ENV["VERSION"] = version
Hoe.spec('test-unit-notify') do
  self.version = version
  self.rubyforge_name = "test-unit"

  developer('Kouhei Sutou', 'kou@clear-code.com')

  extra_deps << ["test-unit"]
end

task :docs do
  doc_dir = base_dir + "doc"
  doc_screenshot_dir = doc_dir + "screenshot"
  mkdir_p(doc_screenshot_dir.to_s)
  (base_dir + "screenshot").children.each do |file|
    next if file.directory?
    cp(file.to_s, doc_screenshot_dir.to_s)
  end
end

task :tag do
  message = "Released Test::Unit::Notify #{version}!"
  base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/test-unit/extensions/test-unit-notify/"
  sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
end

# vim: syntax=Ruby

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
activegroonga-1.0.4 test-unit-notify/Rakefile
rroonga-1.2.0 test-unit-notify/Rakefile
rroonga-1.0.8 test-unit-notify/Rakefile
activegroonga-1.0.3 test-unit-notify/Rakefile
rroonga-1.0.7 test-unit-notify/Rakefile
rroonga-1.0.0 test-unit-notify/Rakefile
test-unit-notify-0.0.1 Rakefile