testiung for release 3
This commit is contained in:
@@ -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 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
cat $ESPIDFTOOLS_INSTALLDIR/.custom_bin/help.txt
|
cat $ESPIDFTOOLS_INSTALLDIR/.custom_bin/help.txt
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo -e "\nRunning Menuconfig\n"
|
||||||
idf.py menuconfig
|
idf.py menuconfig
|
||||||
|
echo -e "\nAll done :3\n"
|
||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user