reject programs that export symbols after they have been used
[voodoo-lang.git] / voodoo.gemspec.in
blobc5d25b28d9a17665f6689701c9fd187a55a1ee62
1 #! /usr/bin/env ruby
3 # Ruby program to generate voodoo.gemspec
5 print <<EOF
6 Gem::Specification.new do |s|
7 s.name = 'voodoo'
8 s.version = '#{ENV['VERSION']}'
9 s.platform = Gem::Platform::RUBY
10 s.homepage = 'http://inglorion.net/software/voodoo/'
11 s.rubyforge_project = 'voodoo'
12 s.author = 'Robbert Haarman'
13 s.email = 'voodoo@inglorion.net'
14 s.summary = 'Compiler for the Voodoo programming language'
15 s.description = <<EOT
16 The Voodoo compiler is an implementation of the Voodoo programming
17 language, a simple low-level programming language.
19 The compiler can be used both as a stand-alone program to
20 compile Voodoo source code and as a Ruby module to generate code on
21 the fly. Multiple target platforms are supported.
22 EOT
23 s.files = Dir.glob("{bin,lib}/**/*").select do |file|
24 # Exclude Makefiles and .in files
25 !File.fnmatch?("**/Makefile", file) &&
26 !File.fnmatch?("**.in", file)
27 end
28 s.require_path = 'lib'
29 s.bindir = 'bin'
30 s.executables = ['voodooc']
31 s.has_rdoc = true
32 s.rdoc_options = [ "-m", "Voodoo", "-t", "Voodoo Code Generator API Documentation" ]
33 end
34 EOF