From bf44461a38c48a5198b78156951e1c7da3edf48f Mon Sep 17 00:00:00 2001 From: Chen Kasirer Date: Tue, 28 Oct 2025 14:51:39 +0100 Subject: [PATCH 1/2] added pre_build task stub --- src/compas_invocations2/build.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 From 18e5f42fa45e63f9f2001e04c4d7d89cf2bcc627 Mon Sep 17 00:00:00 2001 From: Chen Kasirer Date: Thu, 30 Oct 2025 14:18:58 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) 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