Skip to content

Commit

Permalink
Aaand also set the CFLAGS env var when bundling.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Feb 26, 2012
1 parent 1de6c5c commit fe9f9bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,4 +2,4 @@ language: ruby
rvm:
- 1.8.7
- 1.9.3
before_install: rake travis:setup
install: rake travis:setup
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -22,7 +22,9 @@ namespace :travis do
end
end

task :setup => [:install_opencflite_debs, :fix_rvm_include_dir]
task :setup => [:install_opencflite_debs, :fix_rvm_include_dir] do
sh "CFLAGS='-I#{rvm_ruby_dir}/include' bundle install"
end
end

desc "Run `pod spec lint` on all specs"
Expand Down

0 comments on commit fe9f9bb

Please sign in to comment.