diff options
author | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-13 12:26:38 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-13 12:26:38 +0200 |
commit | 562a95b48f780c8f95b252efd2a853c83f603467 (patch) | |
tree | 230087b999d3625ef3befb6fd7f1157659d7dbae | |
parent | 3a2eecb5bcf35120fcf3a9dcf1637459c99a6abe (diff) | |
download | ffi-efl-562a95b48f780c8f95b252efd2a853c83f603467.zip ffi-efl-562a95b48f780c8f95b252efd2a853c83f603467.tar.gz |
bugfix : rake tasks : set USE_RAKE_COMPILER only if ext dir exists
-rw-r--r-- | tasks/constants.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/constants.rb b/tasks/constants.rb index 6f37593..0e84d3a 100644 --- a/tasks/constants.rb +++ b/tasks/constants.rb @@ -20,8 +20,8 @@ end BUILD_DIR = "build" -USE_RAKE_COMPILER = ( (RUBY_PLATFORM =~ /java/) ? false : true ) or test ?d, 'ext' -if USE_RAKE_COMPILER# and test ?d, 'ext' +USE_RAKE_COMPILER = ( ( (RUBY_PLATFORM =~ /java/) ? false : true ) and test ?d, 'ext' ) +if USE_RAKE_COMPILER gem 'rake-compiler', '>=0.6.0' require 'rake/extensiontask' ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.2' |