File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ usage() {
14
14
[[ -n " $msg " ]] && echo " $msg "
15
15
echo " Usage: $PROG [options] [args]"
16
16
echo ' -c # Continue to next app.toml on build errors'
17
+ echo ' -e # Just build the app.toml files that are essential for testing'
17
18
echo ' -h # Help (this message)'
18
19
echo ' -n # No action, just list app.toml files to process.'
19
20
echo ' -r # Remove previous log files (rebuild everything)'
@@ -35,10 +36,12 @@ STOP_ON_ERROR=true
35
36
NOOP=false
36
37
REMOVE_PREV_LOG=false
37
38
SKIP_UNSUPPORTED=true
39
+ ESSENTIAL=false
38
40
39
- while getopts " chnru " opt; do
41
+ while getopts " chenru " opt; do
40
42
case $opt in
41
43
c) STOP_ON_ERROR=false;;
44
+ e) ESSENTIAL=true;;
42
45
h) usage 0;;
43
46
n) NOOP=true;;
44
47
r) REMOVE_PREV_LOG=true;;
@@ -84,7 +87,10 @@ echo app/gimlet/rev-c-lab.toml
84
87
echo app/sidecar/rev-b-lab.toml
85
88
echo app/psc/rev-b-dev.toml
86
89
# Everything except 'Cargo.toml'.
87
- find " app" -name ' *.toml' ! -name Cargo.toml | sort
90
+ if ! $ESSENTIAL
91
+ then
92
+ find " app" -name ' *.toml' ! -name Cargo.toml | sort
93
+ fi
88
94
)
89
95
90
96
declare -A -g SEEN
You can’t perform that action at this time.
0 commit comments