Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 581 Bytes
# XcodeCoverage by Jon Reid,
# Copyright 2019 Jonathan M. Reid. See LICENSE.txt
button=`/usr/bin/osascript <<EOT
tell application "Finder"
set dialogText to "Generate code coverage report?"
set cancelText to "Cancel"
set okText to "OK"
set myReply to button returned of (display dialog dialogText buttons {cancelText, okText} cancel button cancelText default button okText)
end tell
if [[ "${button}" = "OK" ]]; then
scripts="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"${scripts}/getcov" --show
You can’t perform that action at this time.