Sha256: 878778acb63c5aaebaa9576bac1e3e03573b0dadbc175540c68fed4168a5008e

Contents?: true

Size: 1.1 KB

Versions: 19

Compression:

Stored size: 1.1 KB

Contents

# -*- ruby -*-
#
# Copyright (C) 2008-2017  Kouhei Sutou <kou@clear-code.com>

Encoding.default_internal = "UTF-8" if defined?(Encoding.default_internal)

# TODO: Remove me when we drop Ruby 1.9 support.
unless "".respond_to?(:b)
  class String
    def b
      dup.force_encoding("ASCII-8BIT")
    end
  end
end

require "erb"
require "yaml"
require "rubygems"
require "rake/clean"
require "yard"
require "bundler/gem_helper"
require "packnga"

task :default => :test

base_dir = File.dirname(__FILE__)

helper = Bundler::GemHelper.new(base_dir)
def helper.version_tag
  version
end

helper.install
spec = helper.gemspec

document_task = Packnga::DocumentTask.new(spec) do |task|
  task.original_language = "en"
  task.translate_languages = ["ja"]
end

Packnga::ReleaseTask.new(spec) do |task|
  test_unit_github_io_dir_candidates = [
    "../../www/test-unit.github.io",
  ]
  test_unit_github_io_dir = test_unit_github_io_dir_candidates.find do |dir|
    File.directory?(dir)
  end
  task.index_html_dir = test_unit_github_io_dir
end

def rake(*arguments)
  ruby($0, *arguments)
end

task :test do
  ruby("test/run-test.rb")
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.5/Rakefile
test-unit-3.5.5 Rakefile
test-unit-3.5.4 Rakefile
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/Rakefile
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/Rakefile
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/Rakefile
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/Rakefile
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/Rakefile
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/Rakefile
test-unit-3.5.3 Rakefile
test-unit-3.5.2 Rakefile
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/test-unit-3.5.1/Rakefile
test-unit-3.5.1 Rakefile
test-unit-3.5.0 Rakefile
test-unit-3.4.9 Rakefile
test-unit-3.4.8 Rakefile
test-unit-3.4.7 Rakefile
test-unit-3.4.6 Rakefile
test-unit-3.4.5 Rakefile