Moved Nimble-specific Nimscript definitions to nimscriptapi module.
* Moved package info reading procedures to a packageparser module. This is to prevent recu rsive dependencies between nimscriptsupport and packageinfo modules. * Passed the Options object to all procedures which read package info (necessary for nimscriptsupport module, to find the path of the nimscriptapi module) * Introduced an ``isInstalled`` field to the ``PackageInfo`` type. This is a bug fix for g etRealDir: it no longer uses the ``src`` field in the path it returns for installed packag es' PackageInfo objects. * Improved error reporting from NimScript evaluator. * Renamed compiler/options import to ``compiler_options`` in ``nimscriptsupport`` module. * Backward compatibility for .babel packages in getNameVersion proc. * Introduced a getInstalledPkgsMin procedure which does not read package info, but only pr ovides minimal info instead.
This commit is contained in:
parent
84f371982b
commit
ca99ad7d21
9 changed files with 426 additions and 300 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import json, strutils, os, parseopt, strtabs
|
||||
|
||||
import nimblepkg/config, nimblepkg/version, nimblepkg/nimscriptsupport,
|
||||
import nimblepkg/config, nimblepkg/version,
|
||||
nimblepkg/tools
|
||||
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue