Skip to content

Commit

Permalink
Update to match new bashy-lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Oct 12, 2023
1 parent 033c369 commit e28bb0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/lib/lactoserv/run
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define-usage --with-help $'
'

# What to do?
opt-value --var=action --init=run --enum='build clean run' do
opt-value --var=action --default=run --enum='build clean run' do

# Debugging options passed directly to the main `run` script.
opt-toggle --var=earlyErrors early-errors
Expand Down
2 changes: 1 addition & 1 deletion scripts/lib/lactoserv/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define-usage --with-help $'
'

# What to do?
opt-value --var=action --init=run --enum='build clean run' do
opt-value --var=action --default=run --enum='build clean run' do

# Built output directory.
opt-value --var=outDir out
Expand Down
4 changes: 2 additions & 2 deletions scripts/lib/lactoserv/update-deps
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ define-usage --with-help $'
'

# Copy files into place?
opt-toggle --var=doCopy --init=1 copy
opt-toggle --var=doCopy --default=1 copy

# Pull from upstream?
opt-toggle --var=doPull --init=1 pull
opt-toggle --var=doPull --default=1 pull

process-args "$@" || exit "$?"

Expand Down

0 comments on commit e28bb0b

Please sign in to comment.