Skip to content

Add pre build hook - #43

Open
JafarAbdi wants to merge 2 commits into
jspricke:mainfrom
JafarAbdi:feature/pre_build_hook
Open

Add pre build hook#43
JafarAbdi wants to merge 2 commits into
jspricke:mainfrom
JafarAbdi:feature/pre_build_hook

Conversation

@JafarAbdi

Copy link
Copy Markdown
Contributor

Sorry, forgot to open the PR before

Comment thread README.md

## ``PRE_BUILD_HOOK``

TODO

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Update

Comment thread build

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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