Skip to content

Commit a9046dc

Browse files
authored
Merge pull request #9 from compas-dev/pre-build
added pre_build task stub
2 parents 8a65156 + 18e5f42 commit a9046dc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
* Added new task stub `pre-build` to optionally allow for pre-build steps.
13+
1214
### Changed
1315

1416
### Removed

src/compas_invocations2/build.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,13 @@ def build_cpython_ghuser_components(ctx, gh_io_folder=None, prefix=None):
177177
cmd += ' --prefix "{}"'.format(prefix)
178178

179179
ctx.run(cmd)
180+
181+
182+
@invoke.task
183+
def pre_build(ctx):
184+
"""Pre-build steps before building components.
185+
186+
This is a placeholder for any pre-build steps that might be needed and are to be added but the actual project.
187+
188+
"""
189+
pass

0 commit comments

Comments
 (0)