Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (13 sloc) 0.379 kb
a3c3477 @wvanbergen Initial import plus adding rake-compiler.
authored
1 require "bundler/gem_tasks"
2 require "rake/extensiontask"
5f068d2 @wvanbergen Packaging fixes.
authored
3 require "rake/testtask"
a3c3477 @wvanbergen Initial import plus adding rake-compiler.
authored
4
5 Rake::ExtensionTask.new('SysVIPC') do |ext|
6 ext.lib_dir = File.join('lib', 'SysVIPC')
7 ext.config_options = '--with-cflags="-std=c99"'
8 end
9
5f068d2 @wvanbergen Packaging fixes.
authored
10 Rake::TestTask.new(:test) do |t|
11 t.test_files = Dir.glob('test/**/*_test.rb')
12 t.libs << 'test'
13 end
14
15 task :test => [:compile]
16 task :default => [:test]
Something went wrong with that request. Please try again.