~reesmichael1/roman

ref: 913498680070c6a5a619cb533e93ecaaee4b821e roman/roman.nimble -rw-r--r-- 706 bytes View raw
91349868Michael Rees Use constructor to create Subscriptions 5 months ago
                                                                                
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
# Package

version       = "0.1.0"
author        = "Michael Rees"
description   = "A CLI RSS reader"
license       = "GPL-3.0"
srcDir        = "src"
bin           = @["roman"]
binDir        = "bin"



# Dependencies

requires "argparse >= 0.9"
requires "fab >= 0.4"
requires "feednim >= 0.2"
requires "nim >= 0.20.0"
requires "nimpy >= 0.1"
requires "noise >= 0.1"



# Tasks

task run, "Compile and run (release mode)":
    exec "nimble c -r -d:release -o:bin/release/roman src/roman.nim"

task debug, "Compile and run (debug mode)":
    exec "nimble c -r -d:debug -o:bin/debug/roman src/roman.nim"


# Foreign dependencies 

when defined(nimdistros):
    import distros
    foreignDep "python-html2text"