1d5ecd0829
- Delete all frontend TypeScript source (src/, index.html, package.json, etc.) - Move static assets to frontend/static/ (style.css, manifest.json) - Update scripts/build and scripts/test (no npm steps) - Update Dockerfile (no frontend build step) - Update README.md and AGENTS.md for Hyperbole stack
13 lines
330 B
Python
Executable File
13 lines
330 B
Python
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
|
|
echo "Formatting with fourmolu..."
|
|
./hs fourmolu --mode inplace app/ src/ test/
|
|
|
|
echo "Linting with hlint..."
|
|
./hs hlint app/ src/ test/ || true # hlint issues to fix later
|
|
|
|
echo "Building..."
|
|
./hs stack build --copy-bins --local-bin-path /work/build
|