Skip to content

Commit cb5d693

Browse files
authored
Merge pull request #41 from fraya/main
feat: Add 'verbose' flag to 'build' subcommand
2 parents a9530aa + bb2097b commit cb5d693

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.gitignore

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Ignore backup files
12
*~
2-
_build
3-
build
3+
4+
# Ignore compiler build
5+
/_build/
6+
7+
# Ignore documentation build
8+
/documentation/build/
9+
10+
# Ignore package dependencies
11+
/_packages/
12+
13+
# Ignore registry
14+
/registry/

sources/commands/build.dylan

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ define constant $build-subcommand
2626
make(<flag-option>,
2727
names: #("unify", "u"),
2828
help: "Combine libraries into a single executable."),
29+
make(<flag-option>,
30+
names: #("verbose", "v"),
31+
help: "Show verbose output"),
2932
make(<positional-option>,
3033
names: #("libraries"),
3134
help: "Libraries to build.",
@@ -67,6 +70,7 @@ define method execute-subcommand
6770
get-option-value(subcmd, "clean") & "-clean",
6871
get-option-value(subcmd, "link") & "-link",
6972
get-option-value(subcmd, "unify") & "-unify",
73+
get-option-value(subcmd, "verbose") & "-verbose",
7074
name),
7175
#f),
7276
" ");

0 commit comments

Comments
 (0)