aboutsummaryrefslogtreecommitdiff
path: root/nimfunge98.nimble
blob: e860c4371919a2ddd109b2246bbe4407a5f02c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Package

version       = "0.1.0"
author        = "Julien Dessaux"
description   = "A Funge-98 interpreter written in nim"
license       = "EUPL-1.2"
srcDir        = "src"
bin           = @["nimfunge98"]

# Dependencies

requires "nim >= 1.4.8"

# Tasks

task integration, "Runs the test suite":
  exec "testament all"

task coverage, "Run all tests and calculate coverage":
  exec "coco --target 'tests/**/*.nim' --cov '!tests,!nimcache'"

task clean, "Clean":
  exec "rm -rf coverage lcov.info nimcache"
  exec "rm -rf outputGotten.txt testresults tests/megatest tests/megatest.nim"