Twidere-App-Android-Twitter.../travis/scripts/patch_sources.sh

9 lines
283 B
Bash
Executable File

#!/bin/bash
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Apply real patch for pull request"
patch -d twidere < twidere/patches/remove_closed_source_dependencies.patch
else
patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
fi