diff --git a/.gitignore b/.gitignore index 276a056..12d9d95 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ cabal.project.local~ .HTF/ .ghc.environment.* .direnv/ +target/ diff --git a/justfile b/justfile new file mode 100644 index 0000000..de9fbad --- /dev/null +++ b/justfile @@ -0,0 +1,15 @@ +exec := "musician" +target := "target" + +# list all commands +default: + @just --list + +# build musician +build: + mkdir -p {{target}} + ghc -O2 -o {{target}}/{{exec}} *.hs + +# run musician +run: + ./target/{{exec}}