We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manifest "persist" assumes the object to be persisted is a folder, and very often its not.
"persist": [ "state.bin", "folder" ]
because of this, almost every manifest forces an empty file to be created, e.g.
"pre_install": [ "'state.bin' | ForEach-Object { New-Item -Path (Join-Path -Path $dir -ChildPath $_) -ItemType File -ErrorAction SilentlyContinue | Out-Null }" ],
would be great to be able to optionally specify a type, e.g.
"persist": [ { "state.bin", "File" }, { "folder", "Directory" } ]
and therefore, scoop wouldn't need to have a pre-existing object in the $dir folder.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Request
Is your feature request related to a problem? Please describe.
Manifest "persist" assumes the object to be persisted is a folder, and very often its not.
because of this, almost every manifest forces an empty file to be created, e.g.
Describe the solution you'd like
would be great to be able to optionally specify a type, e.g.
and therefore, scoop wouldn't need to have a pre-existing object in the $dir folder.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: