-
Notifications
You must be signed in to change notification settings - Fork 0
/
confy.nimble
45 lines (37 loc) · 1.71 KB
/
confy.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{.warning:"""
The Nim-based confy toolset is deprecated,
and will be removed as soon as the zig rewrite is completed.
""".}
#:_____________________________________________________
# confy | Copyright (C) Ivan Mar (sOkam!) | MIT :
#:_____________________________________________________
when not defined(nimscript) : import system/nimscript # Silence nimsuggest errors
#_____________________________
# Package
packageName = "confy"
version = "0.6.3"
author = "sOkam"
description = "confy | Buildsystem for Nim & C"
license = "MIT"
#_____________________________
# Dependencies
requires "nim >= 2.0.0"
requires "jsony"
requires "https://github.com/guzba/zippy"
requires "https://github.com/heysokam/nstd#head"
requires "https://github.com/heysokam/get.Lang#head"
#_____________________________
# Folders
srcDir = "src/deprecated"
binDir = "bin"
#_____________________________
# Examples
#___________________
import ./src/deprecated/examples/helper
task examples, "Builds all examples for all languages." : helper.buildAll()
task examplesC, "Builds all examples for the C programming language." : helper.buildAll( C )
task examplesCpp, "Builds all examples for the C++ programming language." : helper.buildAll( Cpp )
task examplesNim, "Builds all examples for the Nim programming language." : helper.buildAll( Nim )
task helloC, "Builds the hello world example for the C programming language." : helper.buildHello( C )
task helloCpp, "Builds the hello world example for the C++ programming language." : helper.buildHello( Cpp )
task helloNim, "Builds the hello world example for the Nim programming language." : helper.buildHello( Nim )