3 # Ruby program to generate voodoo.gemspec
6 Gem::Specification.new do |s|
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'
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.
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)
28 s.require_path = 'lib'
30 s.executables = ['voodooc']
32 s.rdoc_options = [ "-m", "Voodoo", "-t", "Voodoo Code Generator API Documentation" ]