You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
452 B
17 lines
452 B
#!/usr/bin/env bash
|
|
#
|
|
# script.sh
|
|
#
|
|
# This file is meant to be sourced during the `script` phase of the Travis
|
|
# build. Do not attempt to source or run it locally.
|
|
#
|
|
# shellcheck disable=SC1090
|
|
. "${TRAVIS_BUILD_DIR}/ci/travis/helpers.sh"
|
|
|
|
header 'Running script.sh...'
|
|
|
|
if any_casks_modified; then
|
|
modified_casks=($(modified_cask_files))
|
|
run brew cask _audit_modified_casks "${TRAVIS_COMMIT_RANGE}"
|
|
run brew cask style "${modified_casks[@]}"
|
|
fi
|
|
|