File tree Expand file tree Collapse file tree 5 files changed +31
-4
lines changed
Expand file tree Collapse file tree 5 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 11# Sh:erpa Config
22
33name : Sh:erpa
4- version : 0.1.1 -alpha
4+ version : 0.2.0 -alpha
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1020,5 +1020,14 @@ p "${txtGreen}-${x} Re-building the executable"
10201020cd src
10211021./Make.sh
10221022br
1023- p " ${btnSuccess} Done! ${x} "
1023+ fi # End SelfUpdate
1024+ if [[ " $1 " == " self-test" ]]; then # SelfTest
1025+ if [[ " $# " -gt 1 ]]; then
1026+ br
1027+ p " ${btnWarning} Too many arguments! ${x} Usage: ${em} sherpa self-test${x} "
1028+ br
1029+ exit 1
1030+ fi
1031+ cd " $SDD "
1032+ sherpa test
10241033fi # End SelfUpdate
Original file line number Diff line number Diff line change @@ -39,6 +39,24 @@ if [[ "$1" == "self-update" ]]; then # SelfUpdate
3939 cd src
4040 ./Make.sh
4141 br
42- p " ${btnSuccess} Done! ${x} "
42+
43+ fi # End SelfUpdate
44+
45+ # ---------------------------- #
46+ # Running tests from .sherpa #
47+ # ---------------------------- #
48+
49+ if [[ " $1 " == " self-test" ]]; then # SelfTest
50+
51+ # Check the arguments number
52+ if [[ " $# " -gt 1 ]]; then
53+ br
54+ p " ${btnWarning} Too many arguments! ${x} Usage: ${em} sherpa self-test${x} "
55+ br
56+ exit 1
57+ fi
58+
59+ cd " $SDD "
60+ sherpa test
4361
4462fi # End SelfUpdate
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ source "../lib/std/fmt.sh"
1212# TODO: !More safety checks per install
1313
1414_install_cli_tools () {
15+
1516 # Check if webi is installed
1617 if ! command -v webi & > /dev/null; then
1718 p " ${txtRed}${strong} x${x} Webi not found, installing..."
You can’t perform that action at this time.
0 commit comments