Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions step.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
#!/bin/bash

set -e
set -ex

echo $message
echo "arch" > build.sh

# Update .bashrc
echo -e "alias xcodebuild=\"arch -x86_64 /bin/bash /Users/vagrant/git/build.sh\"\n" >> ~/.bashrc
source ~/.bashrc &>/dev/null

# Update .bash_profile
#echo -e "shopt -s expand_aliases\n" >> ~/.bash_profile
#echo -e ". ~/.bashrc\n" >> ~/.bash_profile
#source ~/.bash_profile &>/dev/null

# Update .zshrc
echo -e "shopt -s expand_aliases\n" >> ~/.zshrc
echo -e ". ~/.bashrc\n" >> ~/.zshrc
source ~/.zshrc &>/dev/null

echo "Running arch"
arch

echo ""

echo "Running Swizzled xcodebuild"
xcodebuild