Skip to content

Commit f8133e3

Browse files
feat(just): add recipes to apply/reverse monorepo patch
Signed-off-by: Cameron Smith <[email protected]>
1 parent 57b266b commit f8133e3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

justfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ default:
55
# Contents (alphabetical)
66
## CI/CD
77
## Conda package
8+
## Monorepo
89
## Nix
910
## Python package
1011
## Secrets
@@ -103,6 +104,18 @@ conda-type:
103104
conda-check: conda-lint conda-type conda-test
104105
@printf "\n\033[92mAll conda checks passed!\033[0m\n"
105106

107+
## Monorepo
108+
109+
# Apply monorepo patch to convert project to monorepo structure
110+
[group('monorepo')]
111+
monorepo_patch:
112+
git apply scripts/monorepo_pyproject.patch
113+
114+
# Reverse monorepo patch to revert to single package structure
115+
[group('monorepo')]
116+
monorepo_reverse:
117+
git apply --reverse scripts/monorepo_pyproject.patch
118+
106119
## Nix
107120

108121
# Enter the Nix development shell

0 commit comments

Comments
 (0)