File: hts.nimble

package info (click to toggle)
nim-hts 0.3.14%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,280 kB
  • sloc: ansic: 441; sh: 52; makefile: 22
file content (32 lines) | stat: -rw-r--r-- 813 bytes parent folder | download
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
# Package

version       = "0.3.14"
author        = "Brent Pedersen"
description   = "hts (bam/sam) for nim"
license       = "MIT"


# Dependencies

requires "nim >= 0.19.9"
srcDir = "src"

skipDirs = @["tests"]
skipFiles = @["teloage.nim"]

import os, strutils

task test, "run the tests":
  exec "nim c  -d:useSysAssert -d:useGcAssert --lineDir:on --debuginfo -r tests/all"

#before test:
#  exec "c2nim src/hts/private/hts_concat.h"

task docs, "Builds documentation":
  mkDir("docs"/"hts")
  #exec "nim doc2 --verbosity:0 --hints:off -o:docs/index.html  src/hts.nim"
  for file in listfiles("src/hts"):
    if file.endswith("value.nim"): continue
    if splitfile(file).ext == ".nim":
      exec "nim doc2 --verbosity:0 --hints:off -o:" & "docs" /../ file.changefileext("html").split("/", 1)[1] & " " & file