Files
windmill/cli/build.sh
T
centdix 69c2a7c1c8 chore(cli): better folder structure + add config utils (#6319)
* organize in folders

* add config command

* fix

* cleaning

* move utility functions

* merge

* only show token with option

* only show token with option

* fix

* remove config command

* add config utils

* change paths

* nit

* clean path assigner

---------

Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com>
2025-08-05 13:59:07 +00:00

22 lines
442 B
Bash
Executable File

#!/usr/bin/env bash
# Set script to exit on any error
set -e
# Generate client files
./gen_wm_client.sh
# Generate utils client files
./windmill-utils-internal/gen_wm_client.sh
# Set up trap to ensure cleanup happens on exit, error, or interruption
trap 'echo "Cleaning up..."; ./add-ts-ext.sh -r' EXIT ERR INT TERM
# Add .ts extensions for Deno
./add-ts-ext.sh
# Run dnt
echo "Running dnt..."
deno run -A dnt.ts
echo "Build complete!"