File tree Expand file tree Collapse file tree 4 files changed +6
-24
lines changed
Expand file tree Collapse file tree 4 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,8 @@ PACKAGES_DIR="Packages"
3838
3939# Check environment support
4040$compile_buildpack_dir /compile-extensions/bin/check_stack_support
41- # Load global vars
42- source $compile_buildpack_dir /lib/globals.sh
4341# Load convenience functions like status(), echo(), and indent()
44- source $compile_buildpack_dir /lib/utils .sh
42+ source $compile_buildpack_dir /lib/common .sh
4543# Load caching functions
4644source ${compile_buildpack_dir} /lib/cache.sh
4745
Original file line number Diff line number Diff line change @@ -23,10 +23,8 @@ set -e
2323BP_DIR=$( cd $( dirname $0 ) ; cd ..; pwd)
2424APP_DIR=$1
2525
26- # Load global vars
27- source $BP_DIR /lib/globals.sh
2826# Load convenience functions
29- source $BP_DIR /lib/utils .sh
27+ source $BP_DIR /lib/common .sh
3028
3129if [[ -f $APP_DIR /Package.swift ]]; then
3230 swift_version=" $( get_swift_version) "
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515# #
1616
17+ # Global/common vars
18+ DEFAULT_SWIFT_VERSION=3.0.2
19+ CLANG_VERSION=3.8.0
20+
1721error () {
1822 echo " ! $* " >&2
1923 exit 1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments