Skip to content

Commit

Permalink
Add directory pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Aug 13, 2024
1 parent 5ebe393 commit 0b86300
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ifgen/environment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from runtimepy.codec.system import TypeSystem
from runtimepy.enum import RuntimeEnum
from vcorelib.logging import LoggerMixin
from vcorelib.paths import normalize, rel
from vcorelib.paths import normalize, prune_empty_directories, rel

# internal
from ifgen import PKG_NAME
Expand Down Expand Up @@ -91,7 +91,7 @@ def prune_empty(self) -> None:
"""Attempt to eliminate any empty output directories."""

for path in (self.source, self.output, self.test_dir):
print(path)
prune_empty_directories(path)


class IfgenEnvironment(LoggerMixin):
Expand Down
2 changes: 1 addition & 1 deletion ifgen/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
runtimepy>=2.13.3
vcorelib>=3.0.0
vcorelib>=3.3.4
pytest<8.0.0; sys_platform == 'win32'
2 changes: 1 addition & 1 deletion local/configs/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ci_local:

requirements:
- runtimepy>=2.13.3
- vcorelib>=3.0.0
- vcorelib>=3.3.4
- "pytest<8.0.0; sys_platform == 'win32'"

dev_requirements:
Expand Down

0 comments on commit 0b86300

Please sign in to comment.