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
293 B
Python
Executable File
13 lines
293 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/
|
|
|
|
echo "Building..."
|
|
./hs stack build --copy-bins --local-bin-path /work/build
|