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

9 lines
283 B
Bash
Raw Normal View History

2017-04-25 19:40:56 +02:00
#!/bin/bash
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
2017-04-25 20:12:12 +02:00
echo "Apply real patch for pull request"
patch -d twidere < twidere/patches/remove_closed_source_dependencies.patch
2017-04-25 20:20:47 +02:00
else
patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
2017-04-25 20:12:12 +02:00
fi