-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
skinsuit.nimble
29 lines (22 loc) · 737 Bytes
/
skinsuit.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
# Package
version = "0.2.3"
author = "metagn"
description = "utility macros mostly for object variants"
license = "MIT"
srcDir = "src"
# Dependencies
requires "nim >= 1.6.0"
when (NimMajor, NimMinor) >= (1, 4):
when (compiles do: import nimbleutils):
import nimbleutils
# https://github.com/metagn/nimbleutils
task docs, "build docs for all modules":
when declared(buildDocs):
buildDocs(gitUrl = "https://github.com/metagn/skinsuit")
else:
echo "docs task not implemented, need nimbleutils"
task tests, "run tests for multiple backends and defines":
when declared(runTests):
runTests(backends = {c, js, nims})
else:
echo "tests task not implemented, need nimbleutils"