feat(ide): package the VS Code extension as a VSIX
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 8s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 6s
VoidBuildSystem CI / fuzz-clang (push) Failing after 6s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 11s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 48s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 8s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 6s
VoidBuildSystem CI / fuzz-clang (push) Failing after 6s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 11s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 48s
This commit is contained in:
1 parent
3f5b21a570
commit
f032c9f7fe
10 files changed
+269
-74
No files matched your search
@@ -125,6 +125,9 @@ struct IdePluginOptions {
|
||||
std::filesystem::path vbs_executable{"vbs"};
|
||||
IdeKind editor{IdeKind::VsCode};
|
||||
std::filesystem::path output_dir;
|
||||
// Optional VSIX package path (VS Code only): a ZIP with extension.vsixmanifest,
|
||||
// [Content_Types].xml and the extension sources under extension/.
|
||||
std::optional<std::filesystem::path> vsix_path;
|
||||
bool force{false};
|
||||
};
|
||||
|
||||
|
||||
@@ -36,6 +36,12 @@ create_deterministic_tar(const std::filesystem::path &output_tar,
|
||||
std::vector<ArchiveEntrySpec> entries,
|
||||
std::int64_t reproducibility_epoch = 0);
|
||||
|
||||
// Creates a stored (uncompressed) deterministic ZIP archive, e.g. for Windows installers or
|
||||
// editor-extension packages (VSIX).
|
||||
[[nodiscard]] Void::Result::Result<void, Void::Result::Error>
|
||||
create_stored_zip(const std::filesystem::path &output_zip,
|
||||
const std::vector<ArchiveEntrySpec> &entries);
|
||||
|
||||
// Packages a VBS project's source tree cleanly (retaining build.cpp, optional build.profiles.cpp,
|
||||
// build-support/**, and declared sources/headers while excluding .git, build/, .vbs/, secrets).
|
||||
[[nodiscard]] Void::Result::Result<std::string, Void::Result::Error>
|
||||
|
||||
Reference in new issue
Block a user