Skip to content

Commit 9c77f8d

Browse files
authored
mcpp.plugins 0.25.0: tools-steps, a member describes a step and a backend runs it (#824)
1 parent 2b7ef4a commit 9c77f8d

2 files changed

Lines changed: 34 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
### Added
1111

12+
- **mcpp.plugins 0.25.0。** 新成员 `tools-steps`:多命令的步骤由成员描述为一组可移植操作(运行命令、touch、创建、删除、复制、
13+
软链接、把运行时匹配的文件收进列表等),由后端执行,值原样传递;后端在 mcpp 原生支持之前为 `cmake -P`
14+
(mcpp-community/mcpp#955)。`dist-apk` 与 `dist-apple` 改用它,不再有 shell 脚本作为动作程序;`latest` 指向 0.25.0
15+
(mcpp-community/mcpp-plugins#59)。
1216
- **mcpp.plugins 0.24.0。** `dist-apk` 在 Windows 与 macOS 主机上与 Linux 一样打包:`d8`、`apksigner`、bundletool、Kotlin 编译器
1317
与 coursier 改由 JDK 的 `java` 直接运行其 jar,流水线的 `/bin/sh` 辅助脚本合为一个由 `java` 运行的 Java 源文件,任何步骤都
1418
不再需要 shell;CI 在 macOS 与 Windows 行打包 level 0 与 level 1。Windows 上 NDK 的 libc++ 模块源来自

‎pkgs/m/mcpp.plugins.lua‎

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
-- each member selected by a feature.
33
--
44
-- [dependencies.mcpp]
5-
-- plugins = { version = "0.24.0", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.25.0", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.25.0 (package floor mcpp 2026.10.30.1): tools-steps. A step of more than
12+
-- one command is a program of portable operations a member describes and a
13+
-- backend runs (cmake -P until mcpp runs step programs itself, mcpp#955);
14+
-- dist-apk and dist-apple use it, and no action is a shell script.
15+
--
1116
-- 0.24.0 (package floor mcpp 2026.10.30.1): dist-apk packs on Windows and
1217
-- macOS hosts as on Linux. d8, apksigner, bundletool, the Kotlin compiler and
1318
-- coursier run from their jars on the JDK's java, and the pipeline's /bin/sh
@@ -691,6 +696,13 @@ package = {
691696

692697
xpm = {
693698
linux = {
699+
["0.25.0"] = {
700+
url = {
701+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.25.0.tar.gz",
702+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.25.0/mcpp-plugins-0.25.0.tar.gz",
703+
},
704+
sha256 = "808f653cf0bcd80cef65b71d56f36ef1ee122ad8aa2335edc75f048ab0773474",
705+
},
694706
["0.24.0"] = {
695707
url = {
696708
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.24.0.tar.gz",
@@ -1013,9 +1025,16 @@ package = {
10131025
},
10141026
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
10151027
},
1016-
["latest"] = { ref = "0.24.0" },
1028+
["latest"] = { ref = "0.25.0" },
10171029
},
10181030
macosx = {
1031+
["0.25.0"] = {
1032+
url = {
1033+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.25.0.tar.gz",
1034+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.25.0/mcpp-plugins-0.25.0.tar.gz",
1035+
},
1036+
sha256 = "808f653cf0bcd80cef65b71d56f36ef1ee122ad8aa2335edc75f048ab0773474",
1037+
},
10191038
["0.24.0"] = {
10201039
url = {
10211040
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.24.0.tar.gz",
@@ -1338,9 +1357,16 @@ package = {
13381357
},
13391358
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
13401359
},
1341-
["latest"] = { ref = "0.24.0" },
1360+
["latest"] = { ref = "0.25.0" },
13421361
},
13431362
windows = {
1363+
["0.25.0"] = {
1364+
url = {
1365+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.25.0.tar.gz",
1366+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.25.0/mcpp-plugins-0.25.0.tar.gz",
1367+
},
1368+
sha256 = "808f653cf0bcd80cef65b71d56f36ef1ee122ad8aa2335edc75f048ab0773474",
1369+
},
13441370
["0.24.0"] = {
13451371
url = {
13461372
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.24.0.tar.gz",
@@ -1663,7 +1689,7 @@ package = {
16631689
},
16641690
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
16651691
},
1666-
["latest"] = { ref = "0.24.0" },
1692+
["latest"] = { ref = "0.25.0" },
16671693
},
16681694
},
16691695

0 commit comments

Comments
 (0)