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

Script hooks #4

Merged
merged 3 commits into from
May 11, 2020
Merged

Script hooks #4

merged 3 commits into from
May 11, 2020

Conversation

chapulina
Copy link
Contributor

Closes #1 and also closes #2.

Two of the hooks are being used on gazebosim/sdformat#266

chapulina added 2 commits May 1, 2020 14:17
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
@scpeters
Copy link
Contributor

scpeters commented May 4, 2020

instead of passing the names of these scripts as variables, what if we just hard-coded the names of expected scripts (like .github/ci-bionic/after_make.sh) and then check if that file exists and try to call it if so

I think it's slightly simpler that way

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina mentioned this pull request May 11, 2020
@chapulina
Copy link
Contributor Author

instead of passing the names of these scripts as variables, what if we just hard-coded the names of expected scripts

I just noticed this comment. Yeah I think it's a good idea, but now a lot of PRs using that have been merged. So I'll just leave it as is for now and ticketed #8 so we can keep it in mind for the next pass.

@chapulina chapulina merged commit 6d5561d into master May 11, 2020
@mjcarroll mjcarroll deleted the script_hooks branch May 19, 2020 13:19
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

Successfully merging this pull request may close these issues.

Add support for custom hooks after install Add support for custom make targets
2 participants