mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge 66063fe30e into d6181bde38
This commit is contained in:
commit
a9211878a9
1 changed files with 6 additions and 6 deletions
|
|
@ -117,7 +117,7 @@ int main (int argc, char* argv[])
|
|||
" resultant class, but #ifdef'ed out using the name of the sub-directory (hard to\n"
|
||||
" explain, but obvious when you try it...)\n";
|
||||
|
||||
return 0;
|
||||
return 2; // USAGE
|
||||
}
|
||||
|
||||
const File sourceDirectory (File::getCurrentWorkingDirectory()
|
||||
|
|
@ -129,7 +129,7 @@ int main (int argc, char* argv[])
|
|||
<< sourceDirectory.getFullPathName()
|
||||
<< std::endl << std::endl;
|
||||
|
||||
return 0;
|
||||
return 1; // General ERROR
|
||||
}
|
||||
|
||||
const File destDirectory (File::getCurrentWorkingDirectory()
|
||||
|
|
@ -140,7 +140,7 @@ int main (int argc, char* argv[])
|
|||
std::cout << "Destination directory doesn't exist: "
|
||||
<< destDirectory.getFullPathName() << std::endl << std::endl;
|
||||
|
||||
return 0;
|
||||
return 1; // General ERROR
|
||||
}
|
||||
|
||||
String className (argv[3]);
|
||||
|
|
@ -161,7 +161,7 @@ int main (int argc, char* argv[])
|
|||
{
|
||||
std::cout << "Didn't find any source files in: "
|
||||
<< sourceDirectory.getFullPathName() << std::endl << std::endl;
|
||||
return 0;
|
||||
return 1; // General ERROR
|
||||
}
|
||||
|
||||
headerFile.deleteFile();
|
||||
|
|
@ -173,7 +173,7 @@ int main (int argc, char* argv[])
|
|||
{
|
||||
std::cout << "Couldn't open "
|
||||
<< headerFile.getFullPathName() << " for writing" << std::endl << std::endl;
|
||||
return 0;
|
||||
return 126; // NO_PERM
|
||||
}
|
||||
|
||||
std::unique_ptr<OutputStream> cpp (cppFile.createOutputStream());
|
||||
|
|
@ -182,7 +182,7 @@ int main (int argc, char* argv[])
|
|||
{
|
||||
std::cout << "Couldn't open "
|
||||
<< cppFile.getFullPathName() << " for writing" << std::endl << std::endl;
|
||||
return 0;
|
||||
return 126; // NO_PERM
|
||||
}
|
||||
|
||||
*header << "/* (Auto-generated binary data file). */\r\n\r\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue