Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions src/compas_invocations2/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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