72d94170b4
Haskell backend: Orb HTTP framework, JSON-only API Frontend: Mithril.js SPA with TypeScript, Neo Brutalism CSS Dockerized build via flipstone/haskell-tools image Routes: GET /api/health — health check Build: ./hs stack build Test: ./hs stack test Run: ./scripts/run
13 lines
263 B
Bash
Executable File
13 lines
263 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
|
|
echo "Checking formatting with fourmolu..."
|
|
./hs fourmolu --mode check app/ src/ test/
|
|
|
|
echo "Linting with hlint..."
|
|
./hs hlint app/ src/ test/
|
|
|
|
echo "Running tests..."
|
|
./hs stack test
|