mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Added --preserve-temp-files command line option
This commit is contained in:
@ -36,6 +36,7 @@ public class CommandlineParser {
|
||||
private boolean doVerboseBuild = false;
|
||||
private boolean doVerboseUpload = false;
|
||||
private boolean doUseProgrammer = false;
|
||||
private boolean preserveTempFiles;
|
||||
private boolean noUploadPort = false;
|
||||
private boolean forceSavePrefs = false;
|
||||
private String getPref;
|
||||
@ -105,6 +106,12 @@ public class CommandlineParser {
|
||||
action = ACTION.NOOP;
|
||||
continue;
|
||||
}
|
||||
if (args[i].equals("--preserve-temp-files")) {
|
||||
preserveTempFiles = true;
|
||||
if (action == ACTION.GUI)
|
||||
action = ACTION.NOOP;
|
||||
continue;
|
||||
}
|
||||
if (args[i].equals("--verbose-build")) {
|
||||
doVerboseBuild = true;
|
||||
if (action == ACTION.GUI)
|
||||
@ -330,4 +337,8 @@ public class CommandlineParser {
|
||||
public String getLibraryToInstall() {
|
||||
return libraryToInstall;
|
||||
}
|
||||
|
||||
public boolean isPreserveTempFiles() {
|
||||
return preserveTempFiles;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user