diff --git a/README.md b/README.md index 9069155..915f55c 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,29 @@ Modes: ``` +## Ailases +``` + run_esp_reinstall + Updates the esp-install-custom code via git, displays the script version, then executes reinstall-esp-idf.sh with optional arument. + Takes identical arguments to running reinstall-esp-idf.sh manually + run_esp_reinstall + run_esp_reinstall clean + run_esp_reinstall nuke + run_esp_reinstall retool + run_esp_reinstall cron + run_esp_reinstall interactive + run_esp_reinstall test + + esp_monitor + monitors install.log + alias for tail -n 75 -f $ESPIDF_INSTALLDIR/install.log + no arguments + + esp_logs + displays full text of install.log and version-data.txt + no arguments +``` + ## Helpful stuff ``` cron: diff --git a/help.txt b/help.txt index f4b3cac..1db8846 100644 --- a/help.txt +++ b/help.txt @@ -63,6 +63,26 @@ Features: `save-defconfig` idf.py save-defconfig `step-flash-monitor` attempt clean, build, flash, then monitor, dying on error +Aliases: + run_esp_reinstall + Updates the esp-install-custom code via git, displays the script version, then executes reinstall-esp-idf.sh with optional arument. + Takes identical arguments to running reinstall-esp-idf.sh manually + run_esp_reinstall + run_esp_reinstall clean + run_esp_reinstall nuke + run_esp_reinstall retool + run_esp_reinstall cron + run_esp_reinstall interactive + run_esp_reinstall test + + esp_monitor + monitors install.log + alias for tail -n 75 -f $ESPIDF_INSTALLDIR/install.log + no arguments + + esp_logs + displays full text of install.log and version-data.txt + no arguments Helpful Stuff: cron: diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index e901bd0..0e552b4 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -468,10 +468,7 @@ function handleEmptyLogs() { } function handleChk() { - retCodes="Error Checking:\n\tPackages install: $pkgInstallChk\n\tGit pull/clone: $gitChk\n\tInstall script: $installChk\n\tInstall tools: $toolsInstallChk\n\tExport append: $exportCatChk\n\tExport edit return: $exportSedReturnChk\n\tExport version: $exportSedVersionChk\n\tExport date: $exportSedDateChk\n\tExport git hash: $exportSedHashChk\n\trun_esp_reinstall alias: $aliasRunEspReinstallChk\n\tesp_monitor alias: $aliasEspMonitorchk\n\tesp_logs alias: $aliasEspLogsChk\n\tESPIDF_INSTALLDIR envvar: $aliasInstallDirChk\n\tWarned Users: $warnChk\n\tLogged out users: $logoutChk\n\tAppended git log to version-data.txt: $gitLogChk\n\tAcquired git hash: $gitHashChk\n\tDeleted esp-idf dir: $rmIdfDirChk\n\tDeleted .espressif dir: $rmEspressifChk - \n\tCreated install dir: $mkInstallDirChk\n\tRestored export.sh.bak: $restoreExportScriptChk\n\tDeleted old export.sh: $rmExportScriptCh\n\tBacked up export.sh to export.sh.bak: $backupExportScriptChk\n\tMade custom scripts executable: $customBinExecChk\n\tCopied custom scripts: $cpCustomBinChk\n\tDeleted old custom scripts dir: $rmCustomBinChk\n\tWoke from sleep: $sleepChk" - - # echo -e "\n\nTotal Error Load:\n$pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk\n\n" + retCodes="Error Checking:\n\tPackages install: $pkgInstallChk\n\tGit pull/clone: $gitChk\n\tInstall script: $installChk\n\tInstall tools: $toolsInstallChk\n\tExport append: $exportCatChk\n\tExport edit return: $exportSedReturnChk\n\tExport version: $exportSedVersionChk\n\tExport date: $exportSedDateChk\n\tExport git hash: $exportSedHashChk\n\trun_esp_reinstall alias: $aliasRunEspReinstallChk\n\tesp_monitor alias: $aliasEspMonitorchk\n\tesp_logs alias: $aliasEspLogsChk\n\tESPIDF_INSTALLDIR envvar: $aliasInstallDirChk\n\tWarned Users: $warnChk\n\tLogged out users: $logoutChk\n\tAppended git log to version-data.txt: $gitLogChk\n\tAcquired git hash: $gitHashChk\n\tDeleted esp-idf dir: $rmIdfDirChk\n\tDeleted .espressif dir: $rmEspressifChk\n\tCreated install dir: $mkInstallDirChk\n\tRestored export.sh.bak: $restoreExportScriptChk\n\tDeleted old export.sh: $rmExportScriptCh\n\tBacked up export.sh to export.sh.bak: $backupExportScriptChk\n\tMade custom scripts executable: $customBinExecChk\n\tCopied custom scripts: $cpCustomBinChk\n\tDeleted old custom scripts dir: $rmCustomBinChk\n\tWoke from sleep: $sleepChk" totalErrorLoad=$(($pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk)) diff --git a/version.txt b/version.txt index 4cdf616..9200501 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-beta3.4 \ No newline at end of file +61-beta4 \ No newline at end of file