| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 |
Idlize IDL validation utility (idlinter)
Supposed to be compiled and used as a part of Idlize distribution.
Please see Idlize readme for the whole suite installation instructions.
Building idlinter itself in clear environment with Node.js and npm installed:
git clone https://gitee.com/nikolay-igotti/idlize.git
cd idlize
git submodule update --init
git submodule update --remote
npm i
npm run compile --prefix core
npm run compile --prefix idlinter
Then you can bind node <idlinter-directory> $* to idlinter shell script (or node <idlinter-directory> %* to idlinter.cmd) and run it:
Usage: idlinter [options]
Options:
-V, --version output the version number
--check <paths...> Paths to individual .idl files (or directories recursively containing them) for validation
--load <paths...> Paths to individual .idl files (or directories recursively containing them) for loading and symbol search
(only those also mentioned in --check will be checked)
--features <features...> Enable additional validation features,
including:
ohos OHOS-specific checks
-h, --help display help for command
Exit codes are (1) for invalid arguments and (2) in case of errors/fatals found in .idl files.
For architecture overview and extensions how-to see architecture-and-extensions.md