summaryrefslogtreecommitdiffstats
path: root/Rakefile
blob: 12fbfa4a63dbfc984a24af264450741dd72f7734 (plain)
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
49
50
51
52
53
54
55
56
57
# -*- coding: UTF-8 -*-
#
require './lib/efl.rb'
load './tasks/setup.rb'
#
# Project general information
PROJ.name = 'ffi-efl'
PROJ.authors = 'Jérémy Zurcher'
PROJ.email = 'jeremy@asynk.ch'
PROJ.url = 'https://github.com/jeremyz/ffi-efl'
PROJ.version = Efl::VERSION
PROJ.rubyforge.name = 'ffi-efl'
PROJ.readme_file = 'README.rdoc'
#
# Annoucement
PROJ.ann.paragraphs << 'FEATURES' << 'SYNOPSIS' << 'REQUIREMENTS' << 'DOWNLOAD/INSTALL' << 'CREDITS' << 'LICENSE'
PROJ.ann.email[:from] = 'jeremy@asynk.ch'
PROJ.ann.email[:to] = ['FIXME']
PROJ.ann.email[:server] = 'localhost'
PROJ.ann.email[:tls] = false
# Gem specifications
PROJ.gem.need_tar = false
PROJ.gem.files = %w(Changelog MIT-LICENSE README.rdoc Rakefile) + Dir.glob("{ext,lib,spec,tasks}/**/*[^~]").reject { |fn| test ?d, fn }
PROJ.gem.platform = Gem::Platform::RUBY
PROJ.gem.required_ruby_version = ">= 1.9.2"
#
# Override Mr. Bones autogenerated extensions and force ours in
#PROJ.gem.extras['extensions'] = %w(ext/extconf.rb)
#PROJ.gem.extras['required_ruby_version'] = ">= 1.9.2"
#
# RDoc
PROJ.rdoc.exclude << '^ext\/'
PROJ.rdoc.opts << '-x' << 'ext'
#
# Ruby
PROJ.ruby_opts = []
PROJ.ruby_opts << '-I' << 'lib'
#
# RSpec
PROJ.spec.files.exclude /rbx/
PROJ.spec.opts << '--color'
#
# Rcov
PROJ.rcov.opts << '-I lib'
#
# Dependencies
depend_on 'rake', '>=0.8.7'
#
task :default  => [:spec]
#
desc "Build all packages"
task :package => 'gem:package'
#
desc "Install the gem locally"
task :install => 'gem:install'
#
# EOF