mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 10:22:15 +00:00
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:
@@ -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
14
nim.nimble
Normal 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"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user