File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,18 @@ else
129129 status " No Aptfile found."
130130fi
131131
132+ # ----------------------------------------------------------------------------- #
133+ # Set any user specified build environment variables. #
134+ # (Note, this is currently required in order to use Kitura with SwiftNIO.)
135+ # ----------------------------------------------------------------------------- #
136+ if [ -f $BUILD_DIR /.build_env ]; then
137+ status " .build_env found."
138+ for ENV_VAR in $( cat $BUILD_DIR /.build_env) ; do
139+ export $ENV_VAR
140+ status " Set build environment variable: $ENV_VAR "
141+ done
142+ fi
143+
132144# ----------------------------------------------------------------------------- #
133145# Install Swift dev tools & clang #
134146# ----------------------------------------------------------------------------- #
You can’t perform that action at this time.
0 commit comments