Skip to content

Commit

Permalink
only open xcode on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed May 27, 2016
1 parent e64fb4b commit 368c6f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vapor
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,9 @@ struct New: Command {
" Enjoy!",
])
print()
system("open \(escapedName)/*.xcodeproj")
#if os(OSX)
system("open \(escapedName)/*.xcodeproj")
#endif
} catch {
fail("Could not clone repository")
}
Expand Down

0 comments on commit 368c6f0

Please sign in to comment.