Skip to content

Commit

Permalink
Relock Dependencies 2024-07-30 (#35)
Browse files Browse the repository at this point in the history
* Add relock target
* Relock dependencies
  • Loading branch information
Nicoretti authored Jul 30, 2024
1 parent 1ca5c4a commit f94c8a2
Show file tree
Hide file tree
Showing 3 changed files with 346 additions and 335 deletions.
13 changes: 13 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ test +projects=PROJECTS:
run(f"poetry -C {p}/ run nox -f {p}/noxfile.py -s coverage")
sys.exit(rc)

relock +projects=PROJECTS:
#!/usr/bin/env python3
import subprocess, sys
rc = 0
def run(command):
global rc
result = subprocess.run(command.split())
rc = result.returncode or rc
for p in "{{projects}}".split():
run(f"poetry -C {p}/ update")
sys.exit(rc)

# Create a release
release project:
@echo "Ensure environment variables are set:"
Expand Down
Loading

0 comments on commit f94c8a2

Please sign in to comment.