Skip to content

Commit 75072d9

Browse files
authored
Merge pull request #853 from compas-dev/cleanup_ghuser
Clean up ghuser dir before building components
2 parents e21bd24 + ec75fe6 commit 75072d9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
* Fixed bugs in `compas.geometry.bestfit_circle_numpy`.
2525
* Changed directory where ghuser components are installed.
2626
* Added ghuser components directory to those removed by the `clean` task.
27+
* Clean up the ghuser directory before building ghuser components.
2728

2829
### Removed
2930

tasks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ def prepare_changelog(ctx):
193193
'ironpython': 'Command for running the IronPython executable. Defaults to `ipy`.'})
194194
def build_ghuser_components(ctx, gh_io_folder=None, ironpython=None):
195195
"""Build Grasshopper user objects from source"""
196+
clean(ctx, docs=False, bytecode=False, builds=False, ghuser=True)
196197
with chdir(BASE_FOLDER):
197198
with tempfile.TemporaryDirectory('actions.ghcomponentizer') as action_dir:
198199
source_dir = os.path.abspath('src/compas_ghpython/components')

0 commit comments

Comments
 (0)