Skip to content

Commit 0933606

Browse files
authored
add command line option for skipping audit (#1174)
1 parent e945cb7 commit 0933606

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/AutoBuild.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ const BUILD_HELP = (
9999
instead of actually building. Note that this can
100100
(and often does) output multiple JSON objects for
101101
multiple platforms, multi-stage builds, etc...
102+
103+
--skip-audit Skips auditing of the output products.
102104
103105
--help Print out this message.
104106
@@ -199,6 +201,9 @@ function build_tarballs(ARGS, src_name, src_version, sources, script,
199201
# This sets whether we should build verbosely or not
200202
verbose = check_flag!(ARGS, "--verbose")
201203

204+
# This sets whether auditing should be skipped
205+
skip_audit = check_flag!(ARGS, "--skip-audit")
206+
202207
# This sets whether we drop into a debug shell on failure or not
203208
debug, debug_mode = extract_flag!(ARGS, "--debug", "error")
204209

@@ -335,8 +340,9 @@ function build_tarballs(ARGS, src_name, src_version, sources, script,
335340
args...;
336341

337342
# Flags
338-
verbose=verbose,
339-
debug=debug,
343+
verbose,
344+
debug,
345+
skip_audit,
340346
kwargs...,
341347
)
342348
end

0 commit comments

Comments
 (0)