haskell-flake/justfile

23 lines
417 B
Makefile
Raw Permalink Normal View History

2024-02-24 18:15:38 +03:00
default:
@just --list
# Run example
ex:
cd ./example && nix run . --override-input haskell-flake ..
2024-02-24 20:49:40 +03:00
# Run the checks locally using nixci
check:
2024-02-24 18:15:38 +03:00
nixci
2024-02-24 20:49:40 +03:00
# Auto-format the Nix files in project tree
2024-02-24 18:15:38 +03:00
fmt:
2024-02-24 20:49:40 +03:00
treefmt
2024-03-01 01:44:58 +03:00
# Open haskell-flake docs live preview
docs:
cd ./doc && nix run
# Open flake.parts docs, previewing local haskell-flake version
docs-flake-parts:
cd ./doc && nix run .#flake-parts