aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-04-16 13:41:25 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2023-04-16 13:42:08 +0200
commit99b4554a1ce657295b1358509110f3d02155a913 (patch)
treef8f1195ca40a1e3c238077b5a1e8ad4926c08479 /GNUmakefile
parent910d80dc7793490ca7bde75114215fd38ce08e73 (diff)
Add coverage target for local coverage report
I get almost 90% when testing locally
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 42df55d5..d43a9026 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -121,6 +121,10 @@ pd_all: roxygen
"$(RBIN)/Rscript" -e "pkgdown::build_site(run_dont_run = TRUE)"
git add -A
+coverage:
+ mkdir -p docs/dev/coverage
+ "$(RBIN)/Rscript" -e "covr::report(file = 'coverage/coverage.html')"
+
r-forge:
git archive main > $(HOME)/git/mkin/mkin.tar;\
cd $(RFDIR) && rm -r `ls` && tar -xf $(HOME)/git/mkin/mkin.tar;\

Contact - Imprint