Open opticyclic opened 5 years ago
I guess you could use cargoStartLocal.doFirst { ... }
without having to change the code of the plugin.
That won't have copied the structure yet though will it?
I think you are right. I am not sure if the CargoConfigureLocal
task does what you want. You might want to try that out. If it doesn't help then there's likely no support for it as part of the existing Cargo Ant tasks.
Related to https://github.com/bmuschko/gradle-cargo-plugin/issues/172
When running
cargoStartLocal
there no option to modify any files in between the install and configuration of the local container and the running of it.If the task was split in two, e.g.
cargoInstallLocal
andcargoStartLocal
you could run commands after the container has installed and before it starts.Using the names above would break comparability with previous versions though unless a flag could be added to control whether
cargStartLocal
needed to deploy before starting or not.