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
showsdks = %x[xcodebuild -showsdks | grep sdk | grep iphonesimulator] | |
results = [] | |
showsdks.each_line do |sdkline| | |
sdk = /-sdk (\S+)/.match(sdkline)[1] | |
return_code = system("export IOS_SDK=#{sdk}; rake test") | |
results << "#{sdk} success?#{return_code}" | |
end | |
results.each do |r| | |
puts r | |
end |
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
#!/usr/bin/env ruby | |
# Kill crazy BTServer processes when the iPad simulator is running and | |
# you wake your Mac from sleeping | |
seconds_between_checking = 30 | |
kill_threshold_percent = 10.0 | |
while true do | |
ps_out_full = %x[ps aux | grep BTServer] |
NewerOlder