diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e1faab..491383f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +* Added new task stub `pre-build` to optionally allow for pre-build steps. + ### Changed ### Removed diff --git a/src/compas_invocations2/build.py b/src/compas_invocations2/build.py index 283cac4..2711e7c 100644 --- a/src/compas_invocations2/build.py +++ b/src/compas_invocations2/build.py @@ -177,3 +177,13 @@ def build_cpython_ghuser_components(ctx, gh_io_folder=None, prefix=None): cmd += ' --prefix "{}"'.format(prefix) ctx.run(cmd) + + +@invoke.task +def pre_build(ctx): + """Pre-build steps before building components. + + This is a placeholder for any pre-build steps that might be needed and are to be added but the actual project. + + """ + pass