15 lines
382 B
Bash
Executable File
15 lines
382 B
Bash
Executable File
#!/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
|