churf/Justfile
2023-03-02 16:05:43 +01:00

17 lines
242 B
Makefile

alias b := build
build:
bnfc -o src -d Grammar.cf
# clean the generated directories
clean:
rm -r src/Grammar
rm language
# run all tests
test:
cabal test
# compile a specific file
run FILE:
cabal run language {{FILE}}