forked from brentp/somalier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsomalier.nimble
28 lines (21 loc) · 961 Bytes
/
somalier.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
# Package
import ospaths
template thisModuleFile: string = instantiationInfo(fullPaths = true).filename
when fileExists(thisModuleFile.parentDir / "src/somalier.nim"):
# In the git repository the Nimble sources are in a ``src`` directory.
import src/somalierpkg/version as _
else:
# When the package is installed, the ``src`` directory disappears.
import somalierpkg/version as _
version = somalierVersion
author = "Brent Pedersen"
description = "sample-swap checking directly on BAMs/CRAMs for cancer data"
license = "academic only"
# Dependencies
requires "nim >= 0.19.0", "hts >= 0.3.0", "https://github.com/brentp/pedfile", "https://github.com/brentp/hileup", "argparse", "lapper", "arraymancer#head"
srcDir = "src"
bin = @["./somalier"]
#bin = "src/somalier"
task test, "run the tests":
exec "nim c -d:useSysAssert -d:useGcAssert --lineDir:on --debuginfo -r tests/test_groups"
exec "bash tests/functional-tests.sh"