From b0bf75382b4d2b30be8b022c1d742b50180fb78f Mon Sep 17 00:00:00 2001 From: jasmine Date: Sun, 23 Feb 2025 17:28:43 +0800 Subject: [PATCH] feat: migrate to cabal build and cabal run --- justfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index cb3dc68..5e34296 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,4 @@ +# List available recipes default: @just --list @@ -10,6 +11,10 @@ docs: repl *ARGS: cabal repl {{ ARGS }} -# Run ghcid -- auto-recompile and run `main` function -run: - ghcid -T :main +# Run cabal build +build *ARGS: + cabal build {{ ARGS }} + +# Run cabal run +run *ARGS: + cabal run {{ ARGS }}