aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-build
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-09-04 10:30:13 +0000
committermerakor <cem@ckyln.com>2020-09-04 10:30:13 +0000
commit16d4fd6cbf7835583d46960f96d30b35107e9c74 (patch)
treebb66f858b0524917c29721c9fd27ca3d9d252455 /src/cpt-build
parentb24b207ae08088459b8276856b927f9fec5996db (diff)
downloadcpt-16d4fd6cbf7835583d46960f96d30b35107e9c74.tar.gz
cpt: add support for package tests
FossilOrigin-Name: f257d102fe4e20da0965fd247df1c229c4fae24d5e5059704f3886ff26181247
Diffstat (limited to 'src/cpt-build')
-rwxr-xr-xsrc/cpt-build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-build b/src/cpt-build
index edf59bb..d922084 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -7,6 +7,7 @@ parser_definition() {
setup REST -- "usage: ${0##*/} [pkg...]"
msg -- '' 'Options:'
flag CPT_PROMPT -y --no-prompt on:0 init:"$CPT_PROMPT" -- "Do not prompt for confirmation"
+ flag CPT_TEST -t --test init:"$CPT_TEST" -- "Run tests (if it exists)"
disp :usage -h --help -- "Show this help message"
disp :version -v --version -- "Print version information"
}