Skip to content

Commit

Permalink
Update dist.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Aug 13, 2022
1 parent 79440d6 commit a3566d3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions 1k/dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,22 +112,27 @@ function copy_inc_and_libs {

# try download something can't build from github action
# if [ "$TRAVIS_ARTIFACTS_REL" != "" ] ; then
# set -e
# set +e
# TRAVIS_ARTIFACTS_URL="https://github.com/adxeproject/buildware/releases/download/$TRAVIS_ARTIFACTS_REL/install_ios_arm.zip"
# echo "Try download artifacts $TRAVIS_ARTIFACTS_URL"
# wget -O install_ios_arm.zip "$TRAVIS_ARTIFACTS_URL"
# if [ "$?" = "0" ]; then
# unzip -q install_ios_arm.zip -d ./
# fi
# set +e
# set -e
# fi

source src/zlib/dist1.sh $DIST_ROOT
source src/jpeg-turbo/dist1.sh $DIST_ROOT
source src/openssl/dist1.sh $DIST_ROOT
source src/curl/dist1.sh $DIST_ROOT
source src/luajit/dist1.sh $DIST_ROOT

# Because glsl-optimizer only build for macos/ios
# so we disable script abort when copy command fail for other targets
set +e
source src/glsl-optimizer/dist1.sh $DIST_ROOT
set -e

# create dist package
DIST_PACKAGE=${DIST_NAME}.zip
Expand Down

0 comments on commit a3566d3

Please sign in to comment.