未验证 提交 14a0cd3f 编写于 作者: A Asher

Remove build files in source

They aren't used in subsequent files and just slow down CI since it has
to extract from the cache and then package the changes.
上级 3ff83eda
......@@ -303,8 +303,16 @@ class Builder {
]);
});
// This is so it doesn't get cached along with VS Code (no point).
await this.task("Removing copied server", () => fs.remove(serverPath));
// This is so it doesn't get cached along with VS Code. There's no point
// since there isn't anything like an incremental build.
await this.task("Removing build files for smaller cache", () => {
return Promise.all([
fs.remove(serverPath),
fs.remove(path.join(vscodeSourcePath, "out-vscode")),
fs.remove(path.join(vscodeSourcePath, "out-vscode-min")),
fs.remove(path.join(vscodeSourcePath, "out-build")),
]);
});
// Prepend code to the target which enables finding files within the binary.
const prependLoader = async (relativeFilePath: string): Promise<void> => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册