mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-15 13:04:29 +00:00
Fixed: XcodeCapp would attempt to build on non-Mac OS X platforms.
This commit is contained in:
1 parent
0aad32ba86
commit
2abe573bfe
1 file changed
+4
@@ -8,6 +8,10 @@ var OS = require("os"),
|
||||
|
||||
task ("build", function()
|
||||
{
|
||||
// If sw_vers does not exist, we aren't on Mac OS X
|
||||
if (!executableExists("sw_vers"))
|
||||
OS.exit(0);
|
||||
|
||||
// No building on 10.6
|
||||
var p = OS.popen(["sw_vers", "-productVersion"]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user