mirror of
https://github.com/sst/opencode.git
synced 2025-08-27 08:24:06 +00:00
21 lines
409 B
Bash
Executable file
21 lines
409 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "==> Running eslint"
|
|
./node_modules/.bin/eslint .
|
|
|
|
echo "==> Building"
|
|
./scripts/build
|
|
|
|
echo "==> Checking types"
|
|
./node_modules/typescript/bin/tsc
|
|
|
|
echo "==> Running Are The Types Wrong?"
|
|
./node_modules/.bin/attw --pack dist -f json >.attw.json || true
|
|
node scripts/utils/attw-report.cjs
|
|
|
|
echo "==> Running publint"
|
|
./node_modules/.bin/publint dist
|