Fixed: XcodeCapp would attempt to build on non-Mac OS X platforms.

This commit is contained in:
Aparajita Fishman committed 2013-05-05 22:18:50 -04:00
1 parent 0aad32ba86
commit 2abe573bfe
1 file changed
+4
+4
View File
@@ -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"]);