Skip to content

Commit 703b120

Browse files
committed
build: Include skills directory in the build output
1 parent c6f67d6 commit 703b120

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/build.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { exec as _exec } from 'node:child_process';
2-
import { copyFile, writeFile } from 'node:fs/promises';
2+
import { copyFile, writeFile, cp } from 'node:fs/promises';
33
import path from 'node:path';
44
import { fileURLToPath } from 'node:url';
55
import { promisify } from 'node:util';
@@ -87,5 +87,9 @@ async function runTask(tag, cmd) {
8787
])
8888
);
8989

90+
await runTask('Copy skills directory', () => {
91+
cp('skills', DEST_DIR('skills'), { recursive: true });
92+
});
93+
9094
report.success('Done! 🎉');
9195
})();

0 commit comments

Comments
 (0)