Skip to content

Commit

Permalink
Add a shell script shortcut for pip-compile
Browse files Browse the repository at this point in the history
…to avoid running pip-compile three times manually whenever there's a
Python dependency change
  • Loading branch information
jnm committed May 25, 2021
1 parent 4f03929 commit a38a372
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pip-compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
for in_file in dependencies/pip/*.in
do
# pass any arguments to pip-compile
# useful for switches like `--upgrade-package`
pip-compile "$@" "$in_file"
done

0 comments on commit a38a372

Please sign in to comment.