Skip to content

Commit

Permalink
chore: be package-manage independent
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Jan 10, 2024
1 parent d928dbb commit 56e66c1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .dev/scripts/prepareDevEnvironment.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
if ! type "socat" > /dev/null; then
sudo apt-get install socat
if ! type "socat" >/dev/null; then
if type "apt-get" >/dev/null; then
sudo apt-get install socat
fi

if type "brew" >/dev/null; then
brew install socat
fi
fi

if ! type "docker" > /dev/null; then
if ! type "docker" >/dev/null; then
echo "docker not found"
exit 1
fi

if ! type "tsc" > /dev/null; then
if ! type "tsc" >/dev/null; then
npm i -g typescript cpx
fi

Expand Down

0 comments on commit 56e66c1

Please sign in to comment.