diff options
author | Luis Lavena <luislavena@gmail.com> | 2008-11-27 13:41:01 -0200 |
---|---|---|
committer | Luis Lavena <luislavena@gmail.com> | 2008-11-27 13:41:01 -0200 |
commit | 8d967963dcacac13c6f16f703d0cf537d842d726 (patch) | |
tree | 34823c2ce86705d415619c5c18b50b19b6249e89 /spec | |
parent | a4908cecdc24d06252d150e2b96eaaf11b1e1e88 (diff) | |
download | rake-compiler-8d967963dcacac13c6f16f703d0cf537d842d726.tar.gz |
Added ExtensionTask#additional_options functionality.
Allow supply additional configure-time parameters to the build script
(extconf.rb).
This is useful to customize with libraries or conditions not available
system wide.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/rake/extensiontask_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lib/rake/extensiontask_spec.rb b/spec/lib/rake/extensiontask_spec.rb index 1d1665b..cb905dd 100644 --- a/spec/lib/rake/extensiontask_spec.rb +++ b/spec/lib/rake/extensiontask_spec.rb @@ -80,6 +80,10 @@ describe Rake::ExtensionTask do @ext.source_pattern.should == "*.c" end + it 'should have no additional options preset to delegate' do + @ext.additional_options.should be_empty + end + it 'should default to current platform' do @ext.platform.should == RUBY_PLATFORM end |