📝 New freeze script
This commit is contained in:
parent
d8650f41da
commit
59688b0f01
1 changed files with 8 additions and 0 deletions
8
scripts/freeze
Executable file
8
scripts/freeze
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
FILE=./requirements.txt
|
||||
if [ -f "$FILE" ]; then
|
||||
/usr/bin/rm "$FILE" && pip freeze >"$FILE"
|
||||
else
|
||||
pip freeze >"$FILE"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue