Skip to content

Commit 6fd607e

Browse files
Update justfile
1 parent 0458308 commit 6fd607e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

justfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,17 @@ update-deps:
4343
# set -euxo pipefail
4444
find . -maxdepth 3 -name "pyproject.toml" -exec \
4545
echo "[{}]" \; -exec \
46-
poetry update --no-ansi --lock \;
46+
echo "Clearring pypi cache..." \; -exec \
47+
poetry cache clear --all pypi --no-ansi \; -exec \
48+
poetry update --lock --no-ansi \;
4749

4850
# [deps] export requirements.txt
4951
export-reqs: update-deps
5052
#!/usr/bin/env bash
5153
# set -euxo pipefail
5254
find . -maxdepth 3 -name "pyproject.toml" -exec \
53-
printf "%s\n\n" "[{}]" \; -exec \
55+
echo "[{}]" \; -exec \
56+
echo "Exporting requirements.txt..." \; -exec \
5457
poetry export --no-ansi --without-hashes --output requirements.txt \;
5558

5659
# [git] update git submodules

0 commit comments

Comments
 (0)