refactor: migrate to new configuration system and model definitions

This commit is contained in:
Prad Nukala
2024-12-11 12:21:52 -05:00
parent 40f50bf37a
commit 0502f52ec0
54 changed files with 154 additions and 443 deletions
+12
View File
@@ -32,3 +32,15 @@ if [ ! -f "$ROOT_DIR/bin/process-compose" ]; then
sh -c "$(curl --location https://raw.githubusercontent.com/F1bonacc1/process-compose/main/scripts/get-pc.sh)" -- -d -b $ROOT_DIR/bin
fi
# Check if pkl-gen-go is installed to $GOPATH/bin
if [ ! -f "$GOPATH/bin/pkl-gen-go" ]; then
echo "pkl-gen-go not found. Installing..."
go install github.com/apple/pkl-go/cmd/pkl-gen-go@latest
fi
# Check if templ is installed to $GOPATH/bin
if [ ! -f "$GOPATH/bin/templ" ]; then
echo "templ not found. Installing..."
go install github.com/a-h/templ/cmd/templ@latest
fi