File: Rakefile

package info (click to toggle)
ruby-distribution 0.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 572 kB
  • ctags: 370
  • sloc: ruby: 4,270; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 691 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
22
23
24
25
26
# -*- ruby -*-
$:.unshift(File.expand_path(File.dirname(__FILE__)+"/lib/"))
require 'rubygems'
require 'hoe'
require 'distribution'
require 'rubyforge'
# Hoe.plugin :compiler
# Hoe.plugin :gem_prelude_sucks
 Hoe.plugin :git
# Hoe.plugin :inline
# Hoe.plugin :racc
 Hoe.plugin :rubyforge

Hoe.spec 'distribution' do
  self.developer('Claudio Bustos', 'clbustos_at_gmail.com')
  self.version=Distribution::VERSION
  self.extra_dev_deps << ["rspec",">=2.0"] << ["rubyforge",">=0"]

end
# git log --pretty=format:"*%s[%cn]" v0.5.0..HEAD >> History.txt
desc "Open an irb session preloaded with distribution"
task :console do
  sh "irb -rubygems -I lib -r distribution.rb"
end

# vim: syntax=ruby