Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
if !File.exist?(bs_file) or headers.any? { |h| File.mtime(h) > File.mtime(bs_file) }
includes = { |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}\""
bs_files << bs_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment