mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Build: Add a sh build script
This commit is contained in:
parent
3945a3d99d
commit
e5f8b419c5
1 changed files with 3 additions and 0 deletions
|
@ -1,8 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Use sudo less Ruby
|
||||
export GEM_HOME=$HOME/.gem
|
||||
export PATH=$GEM_HOME/bin:$PATH
|
||||
|
||||
|
||||
if [ ! $# -eq 1 ]; then
|
||||
echo "Usage: ./buildRelease.sh [tag or branch]"
|
||||
exit 1
|
||||
|
@ -31,6 +33,7 @@ gem install bundler
|
|||
bundle install
|
||||
bundle update
|
||||
|
||||
|
||||
# Checkout the source to build
|
||||
mkdir -p $BUILD_DIR
|
||||
cd $BUILD_DIR
|
||||
|
|
Loading…
Reference in a new issue