Created
          May 4, 2012 20:13 
        
      - 
      
- 
        Save shawn42/2597428 to your computer and use it in GitHub Desktop. 
    vendor_fix_ruby_motion
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | if !File.exist?(bs_file) or headers.any? { |h| File.mtime(h) > File.mtime(bs_file) } | |
| includes = headers.map { |p| "-I" + File.dirname(p) }.uniq.join(' ') | |
| # ! gen_bridge_metadata DOES NOT support --no-64-bit | |
| #sh "/usr/bin/gen_bridge_metadata --format complete --no-64-bit --cflags \"-I. #{includes}\" #{headers.join(' ')} -o \"#{bs_file}\"" | |
| sh "/usr/bin/gen_bridge_metadata --format complete --cflags \"-I. #{includes}\" #{headers.join(' ')} -o \"#{bs_file}\"" | |
| end | |
| bs_files << bs_file | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment