public
Description: Mirror of Win32::Console Gem project with improved MinGW support
Homepage: http://rubyforge.org/projects/winconsole/
Clone URL: git://github.com/luislavena/win32console.git
luislavena (author)
Fri Apr 10 08:48:30 -0700 2009
commit  aff082dbb8302846525d0ccaa08e4931e4067889
tree    981061b0f61e43dd2e3f67617cc08528cc7e1936
parent  ceb2eecf18b43d2cb98efe1c003cc78c72ef5abb
win32console / Rakefile
100644 44 lines (35 sloc) 1.637 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
require 'rubygems'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/extensiontask'
 
spec = Gem::Specification.new do |s|
  s.name = 'win32console'
  s.version = '1.2.0'
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = %w[ README.txt README_GEM.txt INSTALL.txt HISTORY.txt HISTORY_GEM.txt ]
  s.summary = 'A library giving the Win32 console ANSI escape sequence support.'
  s.description = s.summary
  s.author = 'Original Library by Gonzalo Garramuno, Gem by Justin Bailey'
  s.email = 'ggarra @nospam@ advancedsl.com.ar, jgbailey @nospan@ gmail.com'
  s.homepage = 'http://rubyforge.org/projects/winconsole'
  s.rubyforge_project = 'http://rubyforge.org/projects/winconsole'
  s.description = <<EOS
This gem packages Gonzalo Garramuno's Win32::Console project, and includes a compiled binary for speed. The Win32::Console project's home can be found at:
 
http://rubyforge.org/projects/win32console
 
The gem project can be found at
 
http://rubyforge.org/projects/winconsole
EOS
 
  s.require_path = 'lib'
  s.extensions = %w[ ext/Console/extconf.rb ]
  s.files = FileList[ '{doc,ext,lib,test}/**/*.{rdoc,c,cpp,rb}', 'Rakefile', *s.extra_rdoc_files ]
 
  s.rdoc_options << '--title' << 'Win32Console Gem -- Gem for Win32::Console Project' <<
                   '--main' << 'README_GEM.txt' <<
                   '--line-numbers'
end
 
Rake::GemPackageTask.new(spec) do |pkg|
  pkg.need_tar = true
  pkg.gem_spec = spec
end
 
Rake::ExtensionTask.new('Console', spec) do |ext|
end