summaryrefslogtreecommitdiff
path: root/2025/ocaml/Taskfile.yml
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-11-29 20:08:11 +0100
committerDJ O'Leary <dijitol@proton.me>2025-11-29 20:09:11 +0100
commit87277098e997661f432be56c27f4b54d51aa9306 (patch)
tree83846830e5102120ef298e8ad9a552b30203fdc6 /2025/ocaml/Taskfile.yml
parent0bf49c4ec799445350c60a96a754e44ac15a2268 (diff)
chore: use updated template
Diffstat (limited to '2025/ocaml/Taskfile.yml')
-rw-r--r--2025/ocaml/Taskfile.yml67
1 files changed, 0 insertions, 67 deletions
diff --git a/2025/ocaml/Taskfile.yml b/2025/ocaml/Taskfile.yml
deleted file mode 100644
index b562b3a..0000000
--- a/2025/ocaml/Taskfile.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-# https://taskfile.dev
-version: "3"
-
-tasks:
-
- default:
- desc: Prints this message
- cmds:
- - cmd: task --list-all
-
- docs:
- desc: Builds documentation using ocamldoc
- preconditions:
- - command -v ocamldoc
- cmds:
- - cmd: ocamldoc -html -d docs bin/main.ml
- silent: true
-
- test:
- desc: Runs the tests in the 'tests' directory
- ignore_error: true
- env:
- OUNIT_CI: true
- preconditions:
- - command -v dune
- deps:
- - task: build
- cmds:
- - cmd: dune runtest {{.CLI_ARGS}}
-
- test:watch:
- desc: Continuously runs the tests in the 'tests' directory
- ignore_error: true
- sources:
- - lib/**/*.ml
- - test/**/*.ml
- env:
- OUNIT_CI: true
- preconditions:
- - command -v dune
- deps:
- - task: build
- cmds:
- - cmd: dune runtest --watch {{.CLI_ARGS}}
-
- build:
- desc: Builds the project
- preconditions:
- - command -v dune
- cmds:
- - cmd: dune build
-
- build:release:
- desc: Builds a release version the project
- preconditions:
- - command -v dune
- cmds:
- - cmd: dune build --release
-
- run:
- desc: Runs the project
- preconditions:
- - command -v dune
- deps:
- - task: build
- cmds:
- - cmd: dune exec -- ./bin/main.exe {{.CLI_ARGS}}