-out now creates the directory if it does not exist yet

This commit is contained in:
Irmen de Jong committed 2026-04-25 22:48:24 +02:00
1 parent 9fdd9254f1
commit 5a81021ddc
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -106,10 +106,7 @@ private fun compileMain(args: Array<String>): Boolean {
}
val outputPath = pathFrom(outputDir)
if(!outputPath.toFile().isDirectory) {
System.err.println("Output path doesn't exist")
return false
}
outputPath.createDirectories()
if(profilingInstrumentation==true && compilationTarget!=Cx16Target.NAME) {
System.err.println("Profiling instrumentation is only available on the cx16 target.")
+1 -1
View File
@@ -231,7 +231,7 @@ One or more .p8 module files
So you have to make sure these are provided somewhere in the alternate source path.
``-out <directory>``
sets directory location for output files instead of current directory
Sets directory location for output files instead of current directory. Creates it if it doesn't exist yet.
``-plaintext``
Prints output messages in plain text: no colors or fancy symbols.