Submit
Path:
~
/
/
lib
/
ruby
/
gems
/
3.0.0
/
gems
/
test-unit-3.3.7
/
File Content:
Rakefile
# -*- 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__) html_base_dir = File.join(base_dir, "doc", "html") 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 namespace :html do desc "Publish HTML to Web site." task :publish do # FIXME Do nothing for now #rsync_to_rubyforge(spec, "#{html_base_dir}/", "") end end task :test do ruby("test/run-test.rb") end
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
doc
---
0755
lib
---
0755
sample
---
0755
test
---
0755
BSDL
1401 bytes
0644
COPYING
2593 bytes
0644
PSFL
13606 bytes
0644
README.md
2635 bytes
0644
Rakefile
1352 bytes
0644
N4ST4R_ID | Naxtarrr