My executable needs to write to a package folder.
Is it possible to configure a package with plugins which can write to a package folder?
Consider the following:
targets: [
.executableTarget(
name: "MyExec"
),
.plugin(
name: "MyPlugin",
dependencies: [
target(name: "MyExec")
]
)
.target(
name: "ResultTarget",
dependencies: [],
plugins: [
.plugin(name: "MyPlugin")
]
)
]
MyExec will write files to package folder.
Is it possible to acquire a permission for it?