mirror of
https://github.com/irmen/prog8.git
synced 2026-10-22 05:02:58 +00:00
-out now creates the directory if it does not exist yet
This commit is contained in:
1 parent
9fdd9254f1
commit
5a81021ddc
2 files changed
+2
-5
No files matched your search
@@ -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.")
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user