-
Notifications
You must be signed in to change notification settings - Fork 24
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
base: main
Are you sure you want to change the base?
Conversation
@@ -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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Sorry, forgot to open the PR before