feat(install): generate NuGet packages
This commit is contained in:
1 parent
97709d37a5
commit
b7c224cf67
7 files changed
+172
-5
No files matched your search
+3
-3
@@ -2547,9 +2547,9 @@ int execute_install_command(const InstallCmdOptions &opts) {
|
||||
if (opts.archive_format_arg != "tar" && opts.archive_format_arg != "sh" &&
|
||||
opts.archive_format_arg != "zip" && opts.archive_format_arg != "deb" &&
|
||||
opts.archive_format_arg != "rpm" && opts.archive_format_arg != "wix" &&
|
||||
opts.archive_format_arg != "dmg") {
|
||||
opts.archive_format_arg != "dmg" && opts.archive_format_arg != "nuget") {
|
||||
std::cerr << "vbs install: unsupported --archive-format '" << opts.archive_format_arg
|
||||
<< "' (expected tar, sh, zip, deb, rpm, wix or dmg)\n";
|
||||
<< "' (expected tar, sh, zip, deb, rpm, wix, dmg or nuget)\n";
|
||||
return 2;
|
||||
}
|
||||
if (opts.archive_arg && !opts.archive_arg->empty()) {
|
||||
@@ -3762,7 +3762,7 @@ int main(int argc, char **argv) {
|
||||
.option("--archive", "", "Write a deterministic installer archive of the prefix",
|
||||
install_opts.archive_arg)
|
||||
.option_default("--archive-format", "",
|
||||
"Installer archive format: tar (default), sh, zip, deb, rpm, wix or dmg",
|
||||
"Installer archive format: tar (default), sh, zip, deb, rpm, wix, dmg or nuget",
|
||||
install_opts.archive_format_arg, "tar")
|
||||
.option("--signing-key", "",
|
||||
"Ed25519 seed file; signs the archive and writes .sha256/.sig/.pub",
|
||||
|
||||
Reference in new issue
Block a user