@@ -40,15 +40,9 @@ readdirSync(".")
|
|||||||
encoding: "utf8",
|
encoding: "utf8",
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(
|
|
||||||
execSync(`ls`, {
|
|
||||||
encoding: "utf8",
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
|
|
||||||
// Add module files to repo
|
// Add module files to repo
|
||||||
await sendFile(modInitPath, new ArrayBuffer(0));
|
await sendFile(modInitPath, new ArrayBuffer(0));
|
||||||
await sendFile(modPyPath, readFileSync(modPyPath).buffer);
|
await sendFile(modPyPath, readFileSync(`${modName}.mpy`).buffer);
|
||||||
|
|
||||||
// Update urls
|
// Update urls
|
||||||
packageJsonUrls.push([`${libName}/${modInitPath}`, modInitPath]);
|
packageJsonUrls.push([`${libName}/${modInitPath}`, modInitPath]);
|
||||||
|
|||||||
Reference in New Issue
Block a user