Skip to content

Commit 2af0b43

Browse files
committed
Add lic variable, and do not depend on anything
1 parent ab49945 commit 2af0b43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rad.nimble

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ skipFiles = @["LICENSE", "README.md"]
77
srcDir = "src"
88

99
bin = @["rad"]
10-
11-
requires "nim >= 2.3.1"

src/packages.nim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const radLog = "/var/log/rad"
1616
const radTmp = "/var/tmp/rad"
1717

1818
type Package = object
19-
ver, url, sum, bld, run*, opt = "nil"
19+
ver, url, sum, bld, run*, opt, lic = "nil"
2020

2121
type Stages* = enum
2222
cross
@@ -64,6 +64,8 @@ proc parseInfo*(nom: string): Package =
6464
result.run = val
6565
of "opt":
6666
result.opt = val
67+
of "lic":
68+
result.lic = val
6769
else:
6870
abort(&"""{"nom":8}{&"\{key\} not found":48}""")
6971

0 commit comments

Comments
 (0)