-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
48 lines (39 loc) · 1.14 KB
/
Rakefile
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
45
46
47
48
## -------------------------------------------------------------------
##
## Erlang Toolbox: Project rakefile
## Copyright (c) 2008 The Hive. All rights reserved.
##
## -------------------------------------------------------------------
require 'yaml'
require 'rake'
require 'rake/clean'
CLEAN.include 'pkg'
begin
require 'jeweler'
module Git
class Lib
def tag(tag)
# Force an annotated tag
command('tag', [tag, '-a', '-m', tag])
end
end
end
Jeweler::Tasks.new do |s|
s.name = 'erlbox'
s.platform = Gem::Platform::RUBY
s.author = 'Phillip Toland'
s.email = 'phil.toland@gmail.com'
s.homepage = 'http://github.com/toland/erlbox'
s.summary = 'Erlang Toolbox'
s.description = 'Rake tasks and helper scripts for building Erlang applications.'
s.require_path = 'lib'
s.has_rdoc = false
s.rubyforge_project = 'erlbox'
s.files.include 'lib/erlbox/eunit'
# Dependencies
s.add_dependency 'rake', '>= 0.8.4'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
task :default => :build