Skip to content

Commit

Permalink
Switch to mkdocs-get-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Nov 19, 2023
1 parent 74917d5 commit c8b06ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion populate_projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for d in */; do (
commit=$(curl -sfL "https://api.github.com/repos/$repo/commits?per_page=1&sha=$branch" | jq -r '.[0].sha')
echo "https://github.com/$repo/blob/$branch/$mkdocs_yml" | tee /dev/stderr >project.txt
echo "https://github.com/$repo/raw/$commit/$mkdocs_yml" >>project.txt
tail -1 project.txt | xargs curl -sfL | (mkdocs get-deps -f - || true) | grep . >requirements.in.new
tail -1 project.txt | xargs curl -sfL | (mkdocs-get-deps -f - || true) | grep . >requirements.in.new
(grep -qE ' ' requirements.in || true) >>requirements.in.new
mv requirements.in.new requirements.in
); done
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
beautifulsoup4
mkdocs
mkdocs-get-deps
pip-tools
virtualenv

0 comments on commit c8b06ab

Please sign in to comment.