summary refs log tree commit diff stats
path: root/nim.nimble
blob: bf195b0faf4ad922df56cdd4723ea6d8bd29a943 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include "lib/system/compilation.nim"
version = $NimMajor & "." & $NimMinor & "." & $NimPatch
author = "Andreas Rumpf"
description = "Nim package providing the compiler binary"
license = "MIT"

bin = @["compiler/nim", "nimsuggest/nimsuggest"]
skipFiles = @["azure-pipelines.yml" , "build_all.bat" , "build_all.sh" , "build_nimble.bat" , "build_nimble.sh" , "changelog.md" , "koch.nim.cfg" , "nimblemeta.json" , "readme.md" , "security.md" ]
skipDirs = @["build" , "changelogs" , "ci" , "csources_v2" , "drnim" , "nimdoc", "testament"]

before install:
  when defined(windows):
    if not "bin\nim.exe".fileExists:
      exec "build_all.bat"
  else:
    if not "bin/nim".fileExists:
      exec "./build_all.sh"