git: 8548086872 - main - Remove build verbosity by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jan 2023 00:59:28 UTC
The branch main has been updated by dbaio:
URL: https://cgit.FreeBSD.org/doc/commit/?id=854808687207af05b2c62ec3faca0d1ccc4d5823
commit 854808687207af05b2c62ec3faca0d1ccc4d5823
Author: Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-01-21 00:57:44 +0000
Commit: Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-01-21 00:58:11 +0000
Remove build verbosity by default
This way, it will be easier to identify warnings and errors from Hugo
for anyone when working and building the website or the documentation
portal.
On CI, the builds have verbose and debug options enabled:
```
$ cd doc
$ make HUGO_ARGS="--verbose --debug"
```
---
documentation/Makefile | 2 +-
website/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/documentation/Makefile b/documentation/Makefile
index 410ff444df..ba42e14b0b 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -43,7 +43,7 @@ GEMBASE?= ${LOCALBASE}
RUBY_CMD = ${GEMBASE}/bin/ruby
HUGO_CMD = ${LOCALBASE}/bin/hugo
-HUGO_ARGS?= --verbose --minify
+HUGO_ARGS?= --minify
HUGO_OFFLINE_ARGS?= --environment offline --verbose --minify
ROUGIFY_CMD= ${GEMBASE}/bin/rougify
ASCIIDOCTOR_CMD= ${GEMBASE}/bin/asciidoctor
diff --git a/website/Makefile b/website/Makefile
index 288d171a43..a087bca2b2 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -22,7 +22,7 @@ LOCALBASE?= /usr/local
RUBY_CMD = ${LOCALBASE}/bin/ruby
HUGO_CMD = ${LOCALBASE}/bin/hugo
-HUGO_ARGS?= --verbose
+HUGO_ARGS?=
RUBYLIB = ../shared/lib
.export RUBYLIB