Skip to content

Commit

Permalink
user vendor install script in vendor verify
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Guthe committed Aug 25, 2021
1 parent 4f0cebb commit b04b95e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bleach/_vendor/vendor_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

BLEACH_VENDOR_DIR=${BLEACH_VENDOR_DIR:-"."}
DEST=${DEST:-"."}

pip install --no-binary all --no-compile --no-deps -r vendor.txt --target .
pip install --no-binary all --no-compile --no-deps -r "${BLEACH_VENDOR_DIR}/vendor.txt" --target "${DEST}"
2 changes: 1 addition & 1 deletion scripts/vendor_verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mkdir "${DEST}"
pip --version

# Install vendored dependencies into temp directory
pip install --no-binary all --no-compile --no-deps -r bleach/_vendor/vendor.txt --target "${DEST}"
BLEACH_VENDOR_DIR=bleach/_vendor DEST="${DEST}" bleach/_vendor/vendor_install.sh

# Diff contents of temp directory and bleach/_vendor/ excluding vendoring
# infrastructure
Expand Down

0 comments on commit b04b95e

Please sign in to comment.