ww test: allow -c with persistent workdirs
This commit is contained in:
@@ -1853,15 +1853,6 @@ export fn packagecommand(args: []str) int = {
|
||||
pkgusage();
|
||||
return 2;
|
||||
};
|
||||
// -c suppresses execution and requests a caller-visible binary. Keep it
|
||||
// separate from -w until compile-only persistent-action ownership is wired;
|
||||
// -o without -c already permits a retained copy beside a persistent store.
|
||||
if (workroot.len != 0 && compileonly && !buildonly) {
|
||||
pkgputln(os.STDERR_FILENO,
|
||||
"wwtest package: -w conflicts with -c");
|
||||
return 2;
|
||||
};
|
||||
|
||||
let ds: pkgdiscover;
|
||||
let emptypaths: []str;
|
||||
ds.paths = emptypaths;
|
||||
|
||||
Reference in New Issue
Block a user