testiung for release 3

This commit is contained in:
2025-05-10 00:25:01 -06:00
parent 39a963d227
commit 831a70e3dd
6 changed files with 27 additions and 4 deletions
+4
View File
@@ -7,3 +7,7 @@
9-rc-final 9-rc-final
fixed and renamed ESPIDF_INSTALLDIR ESPIDFTOOLS_INSTALLDIR fixed and renamed ESPIDF_INSTALLDIR ESPIDFTOOLS_INSTALLDIR
removed install branch command removed install branch command
various bug fixes
various error checking added
added bash shell support (experimental)
full testing done
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
cat $ESPIDFTOOLS_INSTALLDIR/.custom_bin/help.txt cat $ESPIDFTOOLS_INSTALLDIR/.custom_bin/help.txt
+3
View File
@@ -1 +1,4 @@
#!/bin/bash
echo -e "\nRunning Menuconfig\n"
idf.py menuconfig idf.py menuconfig
echo -e "\nAll done :3\n"
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
set -e # die on error in theory set -e # die on error
echo -e "Clean, build, flash, monitor in steps, dying on error" echo -e "Clean, build, flash, monitor in steps, dying on error"
+14 -1
View File
@@ -21,9 +21,22 @@ startTime=$(date '+%s') # to time the (re)install time for the logs
# always run globals and boilerplate # always run globals and boilerplate
defShell=$(awk -F: -v user="$USER" '$1 == user {print $NF}' /etc/passwd)
if [[ "$defShell" =~ zsh$ ]]; then
echo -e "\nSelected zsh shell automatically\n"
rcFile="$HOME/.zshrc"
elif [[ "$defShell" =~ bash$ ]]; then
echo -e "\nSelected bash shell automatically\n"
rcFile="$HOME/.bashrc"
else
echo "unsupported shell $defShell"
exit
fi
# get us our FUCKING ALIASES HOLY FUCK GOD DAMN SHIT FUCK IT\ # get us our FUCKING ALIASES HOLY FUCK GOD DAMN SHIT FUCK IT\
source $rcFile 2>/dev/null # >2?/dev/null is to redirect any errors
rcFile="$HOME/.zshrc" # shell rc file rcFile="$HOME/.zshrc" # shell rc file
source $rcFile 2>/dev/null # >2?/dev/null is to redirect any errors
defaultInstallDir="$HOME/esp" defaultInstallDir="$HOME/esp"
if [ -z "$2" ]; then if [ -z "$2" ]; then
+2
View File
@@ -30,6 +30,8 @@ remove unneeded code
add new stuff to error checking add new stuff to error checking
support bashhhh
x text export and changeesp x text export and changeesp
x test help on cmd, help-esp-tools x test help on cmd, help-esp-tools
x test sourced scrips changebaud, changeesp, changeport x test sourced scrips changebaud, changeesp, changeport