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

17 lines
446 B
Bash
Raw Normal View History

#!/bin/bash
2022-05-11 13:39:58 +02:00
# workaround https://github.com/CocoaPods/CocoaPods/issues/11355
2022-05-11 13:53:40 +02:00
sed -i '' $'1s/^/source "https:\\/\\/github.com\\/CocoaPods\\/Specs.git"\\\n\\\n/' Podfile
2022-05-11 13:39:58 +02:00
# Install Ruby Bundler
2022-04-29 10:49:24 +02:00
gem install bundler:2.3.11
# Install Ruby Gems
bundle install
2021-04-27 10:29:10 +02:00
# stub keys. DO NOT use in production
bundle exec pod keys set notification_endpoint "<endpoint>"
bundle exec pod keys set notification_endpoint_debug "<endpoint>"
2021-04-27 10:29:10 +02:00
bundle exec pod install