Skip to content

Commit

Permalink
Add debugging information to vendor_verify.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Oct 28, 2024
1 parent 4783764 commit 959d9a9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/vendor_verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ set -e
# Install vendored packages into /tmp and then compare with what's in
# bleach/_vendor/.

DEST=/tmp/vendor-test
export DEST=/tmp/vendor-test
export BLEACH_VENDOR_DIR=bleach/_vendor

if [[ -e "${DEST}" ]]; then
echo "${DEST} exists. Please remove."
Expand All @@ -14,14 +15,16 @@ fi

mkdir "${DEST}"

# Get versions of pip and python
# Get diagnostic information
pip --version
echo "DEST: ${DEST}"
echo "BLEACH_VENDOR_DIR: ${BLEACH_VENDOR_DIR}"

# Copy patch files to dest directory
cp bleach/_vendor/*.patch "${DEST}"

# Install vendored dependencies into temp directory
BLEACH_VENDOR_DIR=bleach/_vendor DEST="${DEST}" bleach/_vendor/vendor_install.sh
bleach/_vendor/vendor_install.sh

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

0 comments on commit 959d9a9

Please sign in to comment.