#!/bin/bash set -ex # version based on current master 3cb3f7ce6bb8b910f5a41ea1887b1faceba6a7d7 # plus https://github.com/chrisboulton/php-diff/pull/50 git clone https://github.com/chrisboulton/php-diff.git cd php-diff git fetch origin pull/50/head:pr git checkout a9f124f81a9436138879e56157c6cced52a6d95b git show -s rm -rf .git rm -rf .gitignore rm -rf composer.json rm -rf example tests phpunit.xml cd ..