mirror of
https://github.com/daylinmorgan/logo.git
synced 2024-12-21 22:10:45 -06:00
chore: update to nim 2.0
This commit is contained in:
parent
3dc18955e1
commit
34575e05e7
2 changed files with 2 additions and 4 deletions
|
@ -1,2 +0,0 @@
|
||||||
--mm:orc
|
|
||||||
--threads:on
|
|
|
@ -11,7 +11,7 @@ binDir = "bin"
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
requires "nim >= 1.6.12",
|
requires "nim >= 2.0.0",
|
||||||
"nimsvg"
|
"nimsvg"
|
||||||
|
|
||||||
proc getSvgs(): seq[string] =
|
proc getSvgs(): seq[string] =
|
||||||
|
@ -21,6 +21,6 @@ proc makePng(svg: string) =
|
||||||
echo svg & " -> " & svg.replace("svg","png")
|
echo svg & " -> " & svg.replace("svg","png")
|
||||||
exec "inkscape --export-filename=" & svg.replace("svg","png") & " " & svg
|
exec "inkscape --export-filename=" & svg.replace("svg","png") & " " & svg
|
||||||
|
|
||||||
task pngs, "fetch dependencies":
|
task pngs, "generate pngs":
|
||||||
for svg in getSvgs():
|
for svg in getSvgs():
|
||||||
makePng(svg)
|
makePng(svg)
|
||||||
|
|
Loading…
Reference in a new issue