gandalf-reborn/scripts/code-gen/gen-palantir-client.cmd
chris ae59139fdf Update code-gen to generate Angular client for Palantir API
Modified the Docker setup to generate a TypeScript-Angular client from the Palantir API. Added configuration options via a new `options.json` file and updated paths to align with the Angular frontend. Adjusted the script to replace the old client location with the updated Angular client path.
2025-06-10 21:50:49 +02:00

11 lines
411 B
Batchfile

@echo off
pushd "../../docker/code-gen"
rmdir /s /q "palantir-client"
rmdir /s /q "dotnet"
xcopy "../../src/dotnet" "./dotnet\" /E/H
cmd /c "docker-compose up --abort-on-container-exit --force-recreate"
cmd /c "docker-compose down"
rmdir /s /q "../../src/angular/frontend/src/app/clients/palantir-client-bot"
xcopy "./palantir-client" "../../src/angular/frontend/src/app/clients/palantir-client-bot\" /E/H
popd