Change nim's nimble files to make it installable (#20179)

- needs #20168 to make the stuff working

I went for this minimal solution because it seems like `compiler.nimble` and
`nimsuggest.nimble` are not in use

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
This commit is contained in:
Ivan Yonchovski
2022-08-31 22:06:27 +03:00
committed by GitHub
parent 538b8d4032
commit fb2773411e
3 changed files with 14 additions and 17 deletions

View File

@@ -1,9 +0,0 @@
version = system.NimVersion
author = "Andreas Rumpf"
description = "Compiler package providing the compiler sources as a library."
license = "MIT"
installDirs = @["compiler", "nimsuggest"]
requires "nim >= 0.14.0"

14
nim.nimble Normal file
View File

@@ -0,0 +1,14 @@
version = system.NimVersion
author = "Andreas Rumpf"
description = "Compiler package providing the compiler sources as a library."
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_v1" , "drnim" , "nimdoc", "testament"]
before install:
when defined(windows):
exec "./build_all.bat"
else:
exec "./build_all.sh"

View File

@@ -1,8 +0,0 @@
version = "0.1.0"
author = "Andreas Rumpf"
description = "Tool for providing auto completion data for Nim source code."
license = "MIT"
bin = @["nimsuggest"]
requires "nim >= 1.1.1"