feat: remade scripts to be simpler
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
OS=$(uname -s)
|
||||
if [ "$OS" = "Darwin" ]; then
|
||||
ARCH="MacOSX-arm64"
|
||||
else
|
||||
ARCH="Linux-x86_64"
|
||||
fi
|
||||
|
||||
echo "Installing Miniconda..."
|
||||
mkdir -p ~/miniconda3
|
||||
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-${ARCH}.sh -o ~/miniconda3/miniconda.sh
|
||||
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|
||||
rm -rf ~/miniconda3/miniconda.sh
|
||||
~/miniconda3/bin/conda init zsh
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
echo "Installing Go and Bun development tools..."
|
||||
|
||||
# Go tools
|
||||
if command -v go &> /dev/null; then
|
||||
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
|
||||
go install github.com/cosmtrek/air@latest
|
||||
go install github.com/swaggo/swag/cmd/swag@latest
|
||||
fi
|
||||
|
||||
# Bun tools
|
||||
if command -v bun &> /dev/null; then
|
||||
bun install -g dbdocs @dbml/cli
|
||||
fi
|
||||
Reference in New Issue
Block a user