Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.2
/
dev
/
ci
/
tests
/
binaries
/
File Content:
prepare-macos
#!/usr/bin/env bash # This script is from the "Passenger binaries test" Jenkins job. It sets up # a runtime directory for the "build-macos" script. # # Required environment variables: # # WORKSPACE # # Optional environment variables: # # PASSENGER_ROOT (defaults to $WORKSPACE) # OUTPUT_DIR (defaults to $WORKSPACE/output) # CACHE_DIR (defaults to $WORKSPACE/cache) # RUNTIME_DIR (defaults to $CACHE_DIR/runtime) set -e SELFDIR=$(dirname "$0") cd "$SELFDIR/../../../../packaging/binaries" # shellcheck source=../../../../packaging/binaries/shared/lib/library.sh source "./shared/lib/library.sh" require_envvar WORKSPACE "$WORKSPACE" PASSENGER_ROOT="${PASSENGER_ROOT:-$WORKSPACE}" OUTPUT_DIR="${OUTPUT_DIR:-$WORKSPACE/output}" CACHE_DIR="${CACHE_DIR:-$WORKSPACE/cache}" RUNTIME_DIR="${RUNTIME_DIR:-$CACHE_DIR/runtime}" RUNTIME_VERSION=$(cat shared/definitions/macos_runtime_version) run mkdir -p "$OUTPUT_DIR" run mkdir -p "$CACHE_DIR" run mkdir -p "$RUNTIME_DIR/$RUNTIME_VERSION" run ./macos/setup-runtime \ -c "$CACHE_DIR" \ -o "$RUNTIME_DIR/$RUNTIME_VERSION" \ -j 1
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
Jenkinsfile
3270 bytes
0644
build-linux
1037 bytes
0755
build-macos
1070 bytes
0755
prepare-macos
1087 bytes
0755
test-linux
1176 bytes
0755
test-macos
1041 bytes
0755
N4ST4R_ID | Naxtarrr