Skip to content
New issue

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

Split Out Local Install And Run To Different Tasks #173

Open
opticyclic opened this issue Oct 10, 2018 · 3 comments
Open

Split Out Local Install And Run To Different Tasks #173

opticyclic opened this issue Oct 10, 2018 · 3 comments

Comments

@opticyclic
Copy link

Related to #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 and cargoStartLocal 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.

@bmuschko
Copy link
Owner

I guess you could use cargoStartLocal.doFirst { ... } without having to change the code of the plugin.

@opticyclic
Copy link
Author

That won't have copied the structure yet though will it?

@bmuschko
Copy link
Owner

bmuschko commented Oct 10, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants