mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-14 04:32:41 -04:00
add some stuff from RC machine config
This commit is contained in:
parent
7095235fe8
commit
54e3254e41
44 changed files with 23 additions and 8 deletions
16
shell_scripts/check_if_req_are_update.sh
Executable file
16
shell_scripts/check_if_req_are_update.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
# Script for testing if our requirements are up-to-date
|
||||
rm -rf test_requirements/
|
||||
mkdir test_requirements/
|
||||
cd test_requirements/
|
||||
virtualenv venv
|
||||
. venv/bin/activate
|
||||
pip install ../ -i https://pypi.yelpcorp.com/simple
|
||||
pip freeze -l | grep -v '^styleguide==' > requirements.txt
|
||||
diff -u ../requirements.txt requirements.txt
|
||||
cd ../
|
||||
rm -rf test_requirements/
|
||||
|
||||
echo -e '\033[42mSuccess!\033[0m'
|
Loading…
Add table
Add a link
Reference in a new issue