[libc++] ci: Create ~/Library/LaunchAgents if it does not exist yet

This commit is contained in:
Louis Dionne 2021-07-16 11:46:47 -04:00
parent 9ad1a49956
commit fbc3e69f58
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ set -e
# Install a Launchd agent that will automatically start the BuildKite agent at login
if [[ ${1} == "--setup-launchd" ]]; then
HOMEBREW_PREFIX="$(brew --prefix)"
mkdir -p ~/Library/LaunchAgents
cat <<EOF > ~/Library/LaunchAgents/libcxx.buildkite-agent.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">