Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name: Test bot script on ${{ matrix.os }} with ${{ matrix.compiler }}.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
compiler: [ g++-10 ]
Expand Down
16 changes: 13 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,21 @@ while true; do
break

elif [[ $system == "CYGWIN" || "$(uname)" == * ]]; then
echo "CYGWIN is not yet supported"
exit
fi
packages=("git" "gh" "curl" "nodejs")

for package in "${packages[@]}"; do
if ! command -v "$package" &> /dev/null; then
echo "Installing $package..."
choco install -y "$package"
else
echo "$package is already installed."
fi
done
echo "Packages installed successfully."
break
fi
done

echo
#Configures git
read -p $'\e[1mEnter Github username: \e[22m' username
Expand Down