Last active
January 13, 2025 14:11
-
-
Save drupol/002efef91422afa37ca7b05aa48f5e0c to your computer and use it in GitHub Desktop.
phpdocumentor-repro-issue.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Dependencies: | |
# | |
# 1. Create a nix shell with: `nix shell nixpkgs#phpPackages.composer nixpkgs#gitMinimal nixpkgs#diffoscopeMinimal` | |
# 2. Run this script | |
composer --version | |
if [[ ! -d "phpdocumentor" ]]; then | |
git clone https://github.com/phpdocumentor/phpdocumentor | |
fi | |
pushd phpdocumentor | |
git checkout v3.6.0 | |
rm -rf vendor vendor0 vendor1 | |
composer --no-cache --quiet install | |
mv vendor vendor0 | |
composer --no-cache --quiet install | |
mv vendor vendor1 | |
diffoscope --exclude-directory-metadata recursive vendor0 vendor1 | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment