Skip to content

Commit fe77a13

Browse files
darwinswannodette
authored andcommitted
CLJS-2234: Make build scripts optionally less verbose
1 parent 5d7fd9c commit fe77a13

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

script/aot_core

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env bash
22

3-
set -ex
3+
set -e
4+
5+
if [[ -z "$CLJS_SCRIPT_QUIET" ]]; then
6+
set -x
7+
fi
48

59
FILE_SEP='/'
610
PATH_SEP=':'

script/build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
# This script must be run within the ClojureScript top-level project
44
# directory.
55

6-
set -ex
6+
set -e
7+
8+
if [[ -z "$CLJS_SCRIPT_QUIET" ]]; then
9+
set -x
10+
fi
711

812
cd `dirname $0`/..
913
rm -rf target

script/uberjar

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
# This script must be run within the ClojureScript top-level project
44
# directory.
55

6-
set -ex
6+
set -e
7+
8+
if [[ -z "$CLJS_SCRIPT_QUIET" ]]; then
9+
set -x
10+
fi
711

812
# The command `git describe --match v0.0` will return a string like
913
#

0 commit comments

Comments
 (0)