Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile 4362 #3723

Merged
merged 3 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ jobs:
apt:
packages:
- libsecret-1-dev
- php5-cli
- php5-common
- name: "Build iOS"
language: node_js
if: env(BUILD_IOS) = 1 AND (env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank))
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
source "scripts/functions.sh"

if [ -z $GIT_TOKEN ]; then
if [ -z "$GIT_TOKEN" ]; then
print_error "Env vars not correctly defined"
exit 1
fi

print_title "Run scripts"
git clone --depth 1 --single-branch --branch ionic5 https://[email protected]/moodlemobile/apps-scripts.git ../scripts
git clone --depth 1 --single-branch --branch ionic5 https://"$GIT_TOKEN"@github.com/moodlemobile/apps-scripts.git ../scripts
cp ../scripts/*.sh scripts/

if [ ! -f scripts/platform.sh ]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/create_langindex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi

cd $DIR
cd "$DIR"

source "functions.sh"
source "lang_functions.sh"
Expand All @@ -27,7 +27,7 @@ if [ ! -f 'langindex.json' ]; then
fi

findbetter=$1
parse_file $findbetter
parse_file "$findbetter"

echo

Expand Down
Loading