Skip to content

Instantly share code, notes, and snippets.

@maio
Created November 7, 2010 19:42
Show Gist options
  • Save maio/666351 to your computer and use it in GitHub Desktop.
Save maio/666351 to your computer and use it in GitHub Desktop.
Vim + Xcode
set errorformat=%f:%l:\ error:\ %m,%f:%l:\ warning:\ %m
set autowrite
au! BufWritePost *.m make! test
TEST_SDK ?= iphonesimulator4.1
TEST_TARGET ?= YourTestTarget
test:
xcodebuild -configuration Debug -target ${TEST_TARGET} -sdk ${TEST_SDK}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment