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

Add pre build hook #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JafarAbdi
Copy link
Contributor

Sorry, forgot to open the PR before

@@ -53,6 +53,10 @@ If set, this branch will be used to push the packages instead of `DEB_DISTRO-ROS

If set to true, Git Large File Storage will be used to store the generated binaries.

## ``PRE_BUILD_HOOK``

TODO
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update


if [ -n "$PRE_BUILD_HOOK" ]; then
echo "Run pre-build hook"
eval "$PRE_BUILD_HOOK"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it is better to run a script here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same thought in mind, the user specifies a path to a script that get executed rather than a string. Do you want me to update it?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be great if you could do it.

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.

3 participants