Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (20 sloc) 0.679 kb
3f5a4fe Initial commit of codebase to trunk
tarcieri authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/clean'
4 require 'rake/gempackagetask'
5 require 'rake/rdoctask'
6 require 'tools/rakehelp'
7 require 'fileutils'
8 include FileUtils
9
10 setup_tests
11 setup_clean ['ext/rev/Makefile', 'pkg']
12 setup_rdoc ['README', 'LICENSE', 'lib/**/*.rb', 'doc/**/*.rdoc', 'ext/rev/*.c']
13
14 desc "Does a full compile, test run"
15 task :default => [:compile] #, :test]
16
17 desc "Compiles all extensions"
18 task :compile => [:rev_ext]
19 task :package => [:clean]
20
21 setup_extension("rev", "rev_ext")
22
23 summary = "Ruby 1.9 binding to the libev high performance event library"
24 test_file = "spec/rev_spec.rb"
25 setup_gem("rev", "0.1.0", "Tony Arcieri", summary, [], test_file)
Something went wrong with that request. Please try again.