github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/bin/build/client.sh (about)

     1  #!/bin/bash
     2  # Content managed by Project Forge, see [projectforge.md] for details.
     3  
     4  ## Uses `esbuild` to compile the scripts in `client`
     5  ## Requires node, tsc, and esbuild available on the path
     6  
     7  set -euo pipefail
     8  dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     9  cd "$dir/../../client"
    10  
    11  node build.js