Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
at main 17 lines 364 B view raw
1#!/bin/bash 2set -e 3 4SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" 5ROOT_DIR="$(dirname "$SCRIPT_DIR")" 6 7# Parse arguments 8AUTO_ACCEPT="" 9if [[ "$1" == "-y" || "$1" == "--yes" ]]; then 10 AUTO_ACCEPT="yes |" 11fi 12 13echo "=== Generating TypeScript lexicons ===" 14cd "$ROOT_DIR/packages/@wisp/lexicons" 15eval "$AUTO_ACCEPT npm run codegen" 16 17echo "=== Done ==="