Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Get rid of warnings/errors spam in build
Browse files Browse the repository at this point in the history
Issue #780
  • Loading branch information
dcolligan committed Jan 26, 2017
1 parent 73c3c90 commit 1cd205b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -11,6 +11,8 @@ build
_version.py
# Ignore proto included in the generated python package
python/**/*.proto
# sphinx error log
err.log

#********** windows template**********

Expand Down
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -10,6 +10,10 @@
# enable more robust bash
SHELL:=/bin/bash -beEu -o pipefail
BUILD_DIR:=target/doc
ERR_LOG:=2> err.log
ifdef verbose
ERR_LOG:=
endif

############################################################################
default: help
Expand All @@ -28,7 +32,7 @@ help:
# counter the cd doc/source to place the docs at the schemas root
.PHONY: docs
docs:
cd doc/source && sphinx-build -b html -d ../../${BUILD_DIR}/doctrees . ../../${BUILD_DIR}/html
cd doc/source && sphinx-build -b html -d ../../${BUILD_DIR}/doctrees . ../../${BUILD_DIR}/html ${ERR_LOG}

.PHONY: package
package:
Expand Down

0 comments on commit 1cd205b

Please sign in to comment.