Skip to content

Commit a1fbc1f

Browse files
committed
ci: add bailian-cli-runtime and bailian-cli-commands to build process
1 parent 32fecb2 commit a1fbc1f

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"ready": "vp check && vp run -r test && vp run -r build",
1717
"prepare": "vp config",
1818
"check": "vp check",
19-
"sync:skill-assets": "pnpm --filter bailian-cli-core run build && pnpm --filter bailian-cli run generate:reference && pnpm --filter bailian-cli run sync:skill-version",
19+
"sync:skill-assets": "pnpm --filter bailian-cli-core run build && pnpm --filter bailian-cli-runtime run build && pnpm --filter bailian-cli-commands run build && pnpm --filter bailian-cli run generate:reference && pnpm --filter bailian-cli run sync:skill-version",
2020
"dev": "pnpm -F bailian-cli-core dev",
2121
"bl": "pnpm -F bailian-cli dev",
2222
"rag": "pnpm -F bailian-cli-rag dev",

tools/generate-reference.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
* Committed to git; consumed by the `bailian-cli` Agent Skill (`npx skills add modelstudioai/cli`).
77
*
88
* Run: pnpm --filter bailian-cli run generate:reference
9-
* (Also run via `pnpm run sync:skill-assets` or the repo pre-commit hook; requires built `bailian-cli-core`.)
9+
* (Also run via `pnpm run sync:skill-assets` or the repo pre-commit hook; requires built
10+
* `bailian-cli-core`, `bailian-cli-runtime`, and `bailian-cli-commands`.)
1011
*/
1112
import { mkdirSync, readdirSync, rmSync, writeFileSync } from "node:fs";
1213
import { dirname, join } from "node:path";

tools/release/check.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ export async function runCheck(options = {}) {
3737
step("build bailian-cli-core");
3838
run("pnpm", ["--filter", "bailian-cli-core", "run", "build"]);
3939

40+
step("build bailian-cli-runtime");
41+
run("pnpm", ["--filter", "bailian-cli-runtime", "run", "build"]);
42+
43+
step("build bailian-cli-commands");
44+
run("pnpm", ["--filter", "bailian-cli-commands", "run", "build"]);
45+
4046
step(
4147
channel
4248
? "generate skill reference (channel: skip SKILL.md version sync)"

0 commit comments

Comments
 (0)