Skip to content

Instantly share code, notes, and snippets.

View pcbeard's full-sized avatar
🎯
Focusing

pcbeard

🎯
Focusing
View GitHub Profile
#!/usr/bin/ruby
# validate that we're in an actual git repository.
git_dir = "#{Dir.pwd}/.git"
exit unless File.exist?(git_dir)
paths = ["config", "info/refs", "logs/HEAD", "packed-refs"].map {|path| "#{git_dir}/#{path}" }
patterns = ['refs/remotes/origin', 'refs/remotes/svn']
ARGV.each do|arg|
if arg == "--reverse" then
CC=clang CXX=clang++ ./waf configure -v
Setting top to : /Users/beard/Trees/beard/Projects/libmonome
Setting out to : /Users/beard/Trees/beard/Projects/libmonome/build
Checking for 'gcc' (c compiler) : clang
Checking for endianness : 19:22:35 runner ['clang', '../test.c', '-c', '-o', 'test.c.1.o']
little
Checking for working poll() : 19:22:35 runner ['clang', '../test.c', '-c', '-o', 'test.c.1.o']
19:22:35 runner ['clang', 'test.c.1.o', '-o', '/Users/beard/Trees/beard/Projects/libmonome/build/.conf_check_85594aa379d7e07f8afad33a381b3dab/testbuild/testprog']