mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-09 15:52:44 +01:00
4517a4fffb
* Remove Cocoapods and Workspace
* Fix build
* Fix build again 🤦
* Update docs
* Fix fastlane to not use workspace anymore
* Update Documentation/Setup.md
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
* Pin versions for swiftgen/sourcery
* Improve docs
---------
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
36 lines
698 B
Bash
Executable File
36 lines
698 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
# Xcode Cloud scripts
|
|
|
|
set -xeu
|
|
set -o pipefail
|
|
|
|
# list hardware
|
|
system_profiler SPSoftwareDataType SPHardwareDataType
|
|
|
|
echo $PWD
|
|
cd $CI_WORKSPACE
|
|
echo $PWD
|
|
|
|
# install ruby from homebrew
|
|
brew install ruby
|
|
echo 'export PATH="/Users/local/Homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc
|
|
source ~/.zshrc
|
|
|
|
ruby --version
|
|
which gem
|
|
|
|
# workaround default installation location cannot access without sudo problem
|
|
echo 'export GEM_HOME=$HOME/gems' >>~/.bash_profile
|
|
echo 'export PATH=$HOME/gems/bin:$PATH' >>~/.bash_profile
|
|
export GEM_HOME=$HOME/gems
|
|
export PATH="$GEM_HOME/bin:$PATH"
|
|
|
|
# install bundle gem
|
|
gem install bundler --install-dir $GEM_HOME
|
|
|
|
# setup gems
|
|
bundle install
|
|
|
|
bundle exec arkana
|