Navigation Menu

Skip to content

Commit

Permalink
Set document system up
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 11, 2012
1 parent 6b137a2 commit a8a9f67
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Rakefile
Expand Up @@ -19,6 +19,7 @@ task :default => :test

require "rubygems"
require "bundler/gem_helper"
require "packnga"

base_dir = File.join(File.dirname(__FILE__))

Expand All @@ -30,6 +31,12 @@ end
helper.install
spec = helper.gemspec

Packnga::DocumentTask.new(spec) do
end

Packnga::ReleaseTask.new(spec) do
end

desc "Run tests"
task :test do
ruby("test/run-test.rb")
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions grntest.gemspec
Expand Up @@ -33,16 +33,16 @@ Gem::Specification.new do |spec|
description = clean_white_space.call(entries[entries.index("Description") + 1])
spec.summary, spec.description, = description.split(/\n\n+/, 3)
spec.license = "GPLv3 or later"
spec.files = ["README.md", "Rakefile"]
spec.files += Dir.glob("license/*")
spec.files = ["README.md", "Rakefile", "Gemfile", "#{spec.name}.gemspec"]
spec.files += Dir.glob("lib/**/*.rb")
spec.files += Dir.glob("doc/text/*")
spec.test_files += Dir.glob("test/**/*")
Dir.chdir("bin") do
spec.executables = Dir.glob("*")
end

spec.add_development_dependency("bundler")
spec.add_development_dependency("rake")
spec.add_development_dependency("yard")
spec.add_development_dependency("test-unit")
spec.add_development_dependency("packnga")
end

0 comments on commit a8a9f67

Please sign in to comment.