Sha256: b3ddd797195678c06be45b2731f78c9eb15d5ef592f5b650befefa67a5795ca1
Contents?: true
Size: 1.6 KB
Versions: 3
Compression:
Stored size: 1.6 KB
Contents
# -*- coding: utf-8; mode: ruby -*- # # Copyright (C) 2011-2013 Haruka Yoshihara <yoshihara@clear-code.com> # Copyright (C) 2011-2016 Kouhei Sutou <kou@clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License version 2.1 as published by the Free Software Foundation. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA require "English" require "pathname" require "rubygems" require "rubygems/package_task" require "bundler/gem_helper" base_dir = File.join(File.dirname(__FILE__)) packnga_lib_dir = File.join(base_dir, "lib") $LOAD_PATH.unshift(packnga_lib_dir) ENV["RUBYLIB"] = "#{packnga_lib_dir}:#{ENV['RUBYLIB']}" require "packnga" helper = Bundler::GemHelper.new(base_dir) helper.install def helper.version_tag version end spec = helper.gemspec Packnga::DocumentTask.new(spec) do |task| task.original_language = "en" task.translate_language = "ja" end ranguba_org_dir = Dir.glob("{..,../../www}/ranguba.org").first Packnga::ReleaseTask.new(spec) do |task| task.index_html_dir = ranguba_org_dir end desc "Run tests." task :test do ruby("-rubygems", "test/run-test.rb") end task :default => :test
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
packnga-1.0.4 | Rakefile |
packnga-1.0.3 | Rakefile |
packnga-1.0.2 | Rakefile |