mastodon-ios/.github/scripts/setup.sh

17 lines
448 B
Bash
Executable File

#!/bin/bash
# workaround https://github.com/CocoaPods/CocoaPods/issues/11355
echo "$(echo -n 'source "https://github.com/CocoaPods/Specs.git"\n'; cat Podfile)" > Podfile
# Install Ruby Bundler
gem install bundler:2.3.11
# Install Ruby Gems
bundle install
# stub keys. DO NOT use in production
bundle exec pod keys set notification_endpoint "<endpoint>"
bundle exec pod keys set notification_endpoint_debug "<endpoint>"
bundle exec pod install