fix: mise build failing

This commit is contained in:
Charles L 2025-09-01 14:02:31 +10:00
parent c19a0df16e
commit d9e6199835
2 changed files with 11 additions and 1 deletions

View File

@ -84,7 +84,7 @@ run = [
description = "Build complete application (matches Makefile)"
depends = ["install-and-build"]
run = [
"yarn copy:lib",
"yarn download:bin",
"yarn build"
]

View File

@ -136,6 +136,11 @@ async function main() {
console.log("Error Found:", err);
}
})
copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-universal-apple-darwin'), (err) => {
if (err) {
console.log("Error Found:", err);
}
})
} else if (platform === 'linux') {
copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-x86_64-unknown-linux-gnu'), (err) => {
if (err) {
@ -191,6 +196,11 @@ async function main() {
console.log("Error Found:", err);
}
})
copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-universal-apple-darwin'), (err) => {
if (err) {
console.log("Error Found:", err);
}
})
} else if (platform === 'linux') {
copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-x86_64-unknown-linux-gnu'), (err) => {
if (err) {