26 lines
591 B
Nim
26 lines
591 B
Nim
# Package
|
|
|
|
version = "0.8.4"
|
|
author = "Dominik Picheta"
|
|
description = "The Nim toolchain installer."
|
|
license = "BSD"
|
|
|
|
srcDir = "src"
|
|
binDir = "bin"
|
|
bin = @["getnim"]
|
|
|
|
skipExt = @["nim"]
|
|
|
|
# Dependencies
|
|
|
|
# Note: https://github.com/dom96/choosenim/issues/233 (need to resolve when updating Nimble)
|
|
requires "nim >= 1.2.6", "nimble#8f7af86"
|
|
when not defined(windows):
|
|
requires "libcurl >= 1.0.0"
|
|
requires "osinfo >= 0.3.0"
|
|
requires "zippy >= 0.7.2"
|
|
when defined(windows):
|
|
requires "puppy 1.5.4"
|
|
|
|
task release, "Build a release binary":
|
|
exec "nimble build -d:release"
|