aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-06-23 20:45:03 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-06-23 20:45:03 +0200
commitd4adc170639cc967b9ef9270ef139f7ff5634f47 (patch)
treeb59962c24db52205a205d83bf36e928fcadb4e53 /GNUmakefile
parent005a39e3f4413ae27d8334b8000abd1d25108a7a (diff)
Version bump, keep logs of build, check and test
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9caa84f7..57a6ca15 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -40,7 +40,7 @@ README.md: README.Rmd
$(TGZ): $(pkgfiles) vignettes/*.html vignettes/*.pdf
cd ..;\
- "$(RBIN)/R" CMD build $(PKGSRC)
+ "$(RBIN)/R" CMD build $(PKGSRC) 2>&1 | tee $(PKGNAME)/build.log
$(TGZVNR): $(pkgfiles)
cd ..;\
@@ -59,7 +59,7 @@ install-no-vignettes: build-no-vignettes
"$(RBIN)/R" CMD INSTALL $(TGZVNR)
check: build
- "$(RBIN)/R" CMD check --as-cran --no-tests $(TGZ)
+ "$(RBIN)/R" CMD check --as-cran --no-tests $(TGZ) 2>&1 | tee check.log
quickcheck: build-no-vignettes
mv $(TGZVNR) $(TGZ)
@@ -78,7 +78,7 @@ clean:
test: install-no-vignettes
cd tests;\
- "$(RBIN)/Rscript" testthat.R
+ "$(RBIN)/Rscript" testthat.R 2>&1 | tee ../test.log
vignettes/%.pdf: vignettes/header.tex vignettes/references.bib vignettes/%.Rnw
"$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/$*.Rnw', dir = 'vignettes')"

Contact - Imprint