forked from halfbyte/portmidi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
32 lines (28 loc) · 1.1 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
require 'rubygems'
require 'rake'
require File.join(File.dirname(__FILE__), "lib/portmidi/version")
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "portmidi"
gemspec.summary = "An ffi wrapper around the cross platform midi library portmidi"
gemspec.description = "An ffi wrapper around the cross platform midi library portmidi, part of the portmedia framework"
gemspec.email = "jan@krutisch.de"
gemspec.homepage = "http://github.com/halfbyte/portmidi"
gemspec.authors = ["Jan Krutisch"]
gemspec.version = Portmidi::VERSION
gemspec.requirements << "Needs portmidi compiled as a dynamic library"
gemspec.requirements << "On MRI, this needs the ffi gem installed"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = Portmidi::VERSION
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "Portmidi #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end