mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
Exit with error from capp gen
This commit is contained in:
1 parent
92b5b34d17
commit
9c3a579ff8
1 file changed
+3
-1
@@ -174,8 +174,10 @@ function gen(/*va_args*/)
|
||||
|
||||
createFrameworksInFile(frameworks, frameworkDestination, options.symlink, options.useCappBuild);
|
||||
}
|
||||
else
|
||||
else {
|
||||
stream.print("Directory already exists");
|
||||
OS.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
function createFrameworksInFile(/*Array*/ frameworks, /*String*/ aFile, /*Boolean*/ symlink, /*Boolean*/ build, /*Boolean*/ force)
|
||||
|
||||
Reference in new issue
Block a user