-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathyahttp.nimble
More file actions
30 lines (21 loc) · 735 Bytes
/
yahttp.nimble
File metadata and controls
30 lines (21 loc) · 735 Bytes
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
# Package
version = "0.13.0"
author = "Denis Mishankov"
description = "Awesome simple HTTP client"
license = "MIT"
srcDir = "src"
# Dependencies
requires "nim >= 2.0.0"
task docs, "Genreate docs":
exec "nim doc src/yahttp.nim"
task pretty, "Pretty":
exec "nimpretty src/yahttp.nim"
task examples, "Run examples":
exec "nim c --run examples/examples.nim"
task unittests, "Run unit tests":
exec "testament pattern \"tests/unit/*.nim\""
task inttests, "Run integation tests":
exec "docker run -d --name yahttp-httpbin -p 8080:8080 mccutchen/go-httpbin"
exec "testament pattern \"tests/int/*.nim\""
exec "docker stop yahttp-httpbin"
exec "docker remove yahttp-httpbin"