File: Rakefile

package info (click to toggle)
libruby2ruby-ruby 1.1.8-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 88 kB
  • ctags: 133
  • sloc: ruby: 1,028; makefile: 40; sh: 9
file content (21 lines) | stat: -rw-r--r-- 702 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- ruby -*-

dirs = %w(../../ParseTree/dev/lib ../../ParseTree/dev/test:lib)
$:.push(*dirs)
ENV['RUBY_FLAGS'] = "-I" + dirs.join(":")

require 'rubygems'
require 'hoe'
require './lib/ruby2ruby.rb'

Hoe.new('ruby2ruby', RubyToRuby::VERSION) do |p|
  p.rubyforge_name = 'seattlerb'
  p.summary = 'ruby2ruby provides a means of generating pure ruby code easily from ParseTree\'s Sexps.'
  p.description = p.paragraphs_of('README.txt', 2).join
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1].map {|u| u.strip }
  p.changes = p.paragraphs_of('History.txt', 0..4).join("\n\n")
  p.clean_globs << File.expand_path("~/.ruby_inline")
  p.extra_deps << "ParseTree"
end

# vim: syntax=Ruby