Sha256: 56c5108914189948859b68af8ca1433ddc8abf670a0adaa6f0fcec81925e3f0c

Contents?: true

Size: 825 Bytes

Versions: 1

Compression:

Stored size: 825 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'

Hoe.plugin :minitest
Hoe.plugin :git
Hoe.plugin :travis

hoe = Hoe.spec 'curses-pad' do
  self.version = '1.0' # remember to update pad.c
  developer 'Eric Hodel', 'drbrain@segment7.net'

  rdoc_locations <<
    'docs.seattlerb.org:/data/www/docs.seattlerb.org/curses-pad/'

  extra_dev_deps << ['rake-compiler', '~> 0.8', '>= 0.8.1']

  spec_extras['extensions']            = %w[ext/curses/pad/extconf.rb]
  spec_extras['required_ruby_version'] = '>= 1.9.2'
end

begin
  require 'rake/extensiontask'

  Rake::ExtensionTask.new 'pad', hoe.spec do |ext|
    ext.ext_dir = 'ext/curses/pad'
    ext.lib_dir = 'lib/curses'
  end
rescue LoadError
  task :compile do
    abort 'run: rake check_extra_deps'
  end
end

task default: :compile

task test: :compile

# vim: syntax=ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
curses-pad-1.0 Rakefile