mirror of
https://github.com/xxnuo/MTranServer.git
synced 2026-06-09 10:02:40 +08:00
fix(build): run tsoa generation before building
This commit is contained in:
@@ -20,6 +20,9 @@ console.log("Cleaning dist...");
|
||||
await $`rm -rf dist`;
|
||||
await $`mkdir -p dist`;
|
||||
|
||||
console.log("Generating routes and spec...");
|
||||
await $`bun run gen`;
|
||||
|
||||
for (const target of targets) {
|
||||
const ext = target.bun.includes("windows") ? ".exe" : "";
|
||||
const outfile = `dist/mtranserver-${version}-${target.name}${ext}`;
|
||||
|
||||
Reference in New Issue
Block a user