Обновить README.md

This commit is contained in:
2024-12-27 11:17:52 +03:00
parent 909bffb94c
commit 633e2ce1c2

View File

@@ -54,7 +54,7 @@ node {
* `create()` - compile final JSON and save it to artifact * `create()` - compile final JSON and save it to artifact
* `copyToHost(path)` - copy final JSON to `path` on your host * `copyToHost(path)` - copy final JSON to `path` on your host
* `get()` - read and parse `platforms_local.json` file from "shstk-platforms" artifact * `get()` - read and parse `platforms_local.json` file from "shstk-platforms" artifact
* `root()` - returns 'platforms' object of current platforms * `root()` - returns root object of current JSON
* `forEach(func, ...)` - iterate over platforms, `func` is only mandatory parameter: * `forEach(func, ...)` - iterate over platforms, `func` is only mandatory parameter:
* `func` - method to execute for each enabled platform, pass JSON element of current platform and optional CMake toolchain argument * `func` - method to execute for each enabled platform, pass JSON element of current platform and optional CMake toolchain argument
* `stagePrefix` - prefix string for `stage` * `stagePrefix` - prefix string for `stage`