Output errors on stderr.
This commit is contained in:
parent
b748e607ad
commit
02aed778bc
@ -3,10 +3,6 @@ variables:
|
|||||||
JEKYLL_ENV: production
|
JEKYLL_ENV: production
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
build_project:
|
build_project:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
@ -20,17 +16,3 @@ build_project:
|
|||||||
- brew
|
- brew
|
||||||
- java
|
- java
|
||||||
- xcode_9
|
- xcode_9
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
pages:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- exec jekyll build -d public
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
tags:
|
|
||||||
- jekyll
|
|
||||||
only:
|
|
||||||
- gh-pages
|
|
||||||
|
@ -2,15 +2,10 @@
|
|||||||
# See https://developer.apple.com/library/ios/qa/qa1686/_index.html
|
# See https://developer.apple.com/library/ios/qa/qa1686/_index.html
|
||||||
cd "${BASH_SOURCE%/*}"
|
cd "${BASH_SOURCE%/*}"
|
||||||
source bashlib
|
source bashlib
|
||||||
trap 'c=$BASH_COMMAND s=$?; echo "EXIT: $s: $c"; exit $s' EXIT
|
trap 'c=$BASH_COMMAND s=$?; (( s )) && echo >&2 "ERROR: $s: $c"; exit $s' EXIT
|
||||||
set -e
|
set -e
|
||||||
cd ..
|
cd ..
|
||||||
export PATH+=:/usr/local/bin
|
export PATH+=:/usr/local/bin
|
||||||
echo >&2 "stderr"
|
|
||||||
echo "stdout"
|
|
||||||
echo "== declare -xp =="
|
|
||||||
declare -xp
|
|
||||||
echo "== declare -xp =="
|
|
||||||
|
|
||||||
# icons format: [pixel size]@[scale]@[idiom]@[os]:[filename] -- if os is "anything lower", omit it
|
# icons format: [pixel size]@[scale]@[idiom]@[os]:[filename] -- if os is "anything lower", omit it
|
||||||
icons=(
|
icons=(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd "${BASH_SOURCE%/*}"
|
cd "${BASH_SOURCE%/*}"
|
||||||
source ./bashlib
|
source ./bashlib
|
||||||
trap 'c=$BASH_COMMAND s=$?; (( s )) && echo "ERROR: $s: $c"; exit $s' EXIT
|
trap 'c=$BASH_COMMAND s=$?; (( s )) && echo >&2 "ERROR: $s: $c"; exit $s' EXIT
|
||||||
set -e
|
set -e
|
||||||
cd ..
|
cd ..
|
||||||
export PATH+=:/usr/libexec
|
export PATH+=:/usr/libexec
|
||||||
|
Loading…
Reference in New Issue
Block a user