Commit 9ac2d98 1 parent f8c1eaf commit 9ac2d98 Copy full SHA for 9ac2d98
File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,5 @@ clustermq.Rcheck
15
15
src /Makevars
16
16
.github /* .html
17
17
windows
18
+ /doc /
19
+ /Meta /
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ all: rcpp doc vignettes
3
3
4
4
R = R --no-save --no-restore -e
5
5
BIN = $(abspath $(lastword $(MAKEFILE_LIST ) ) /../tests/bin)
6
+ PKGVER = $(shell grep Version: < DESCRIPTION | sed "s/Version: //")
6
7
7
8
.PHONY : test
8
9
test :
@@ -33,6 +34,12 @@ inst/doc/%.md: vignettes/%.rmd
33
34
doc :
34
35
$(R ) " devtools::document()"
35
36
37
+ .PHONY : package
38
+ package : rcpp doc vignettes
39
+ ./src/patch_libzmq.sh
40
+ PATH=$(BIN ) :$$ PATH R CMD build .
41
+ R CMD check --as-cran clustermq_$(PKGVER ) .tar.gz
42
+
36
43
.PHONY : deploy
37
44
deploy :
38
45
$(R ) " pkgdown::deploy_to_branch()"
You can’t perform that action at this time.
0 commit comments