-
Notifications
You must be signed in to change notification settings - Fork 10
/
cello.nimble
52 lines (40 loc) · 1.2 KB
/
cello.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Package
version = "0.3.0"
author = "Andrea Ferretti"
description = "String algorithms with succinct data structures"
license = "Apache2"
skipDirs = @["tests", "benchmarks", "img"]
# Dependencies
requires "nim >= 0.20.0", "spills >= 0.1.3"
task test, "run cello tests":
--hints: off
--linedir: on
--stacktrace: on
--linetrace: on
--debuginfo
--path: "."
--run
setCommand "c", "tests/test.nim"
task tests, "run cello tests":
setCommand "test"
task benchmarkRRR, "benchmark RRR bit array":
withDir "benchmarks":
exec "nimble benchmarkRRR"
task benchmarkWT, "benchmark wavelet tree":
withDir "benchmarks":
exec "nimble benchmarkWT"
task benchmarkBW, "benchmark Burrows-Wheeler transform":
withDir "benchmarks":
exec "nimble benchmarkBW"
task benchmarkFM, "benchmark FM indices":
withDir "benchmarks":
exec "nimble benchmarkFM"
task benchmarkRO, "benchmark Ratcliff-Obershelp similarity":
withDir "benchmarks":
exec "nimble benchmarkRO"
task spaceRRR, "benchmark the space of RRR bit array":
withDir "benchmarks":
exec "nimble spaceRRR"
task spaceWT, "benchmark the space of wavelet tree":
withDir "benchmarks":
exec "nimble spaceWT"