forked from pfh/weitrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (33 loc) · 1.29 KB
/
Copy pathMakefile
File metadata and controls
48 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
document :
Rscript -e "devtools::document()"
data :
Rscript -e 'devtools::load_all("."); source("data-raw/simwei.R")'
check.Renviron :
curl https://raw.githubusercontent.com/Bioconductor/packagebuilder/master/check.Renviron >check.Renviron
check : document check.Renviron
rm weitrix_*.tar.gz || echo No old tarball
time R CMD build .
R_CHECK_ENVIRON=check.Renviron time R CMD check weitrix_*.tar.gz
ls -lh weitrix_*.tar.gz
bioccheck : document
R CMD BiocCheck .
test :
Rscript -e "devtools::test()"
install :
R CMD INSTALL .
vignette :
@echo file:///`pwd`/doc
Rscript -e "devtools::build_vignettes()"
site : document
Rscript -e "pkgdown::build_site(new_process=FALSE)"
# Note: must install package for system.file to work
site-devel : document
Rscript -e "devtools::load_all('.',export_all=F);pkgdown::build_site(new_process=FALSE,devel=TRUE,lazy=TRUE)"
# Note: must install package for system.file to work
articles-devel :
Rscript -e "devtools::load_all('.',export_all=F);pkgdown::build_articles(lazy=TRUE,quiet=FALSE)"
publish :
rsync -rv docs/* logarithmic.net:www/weitrix/
clean :
rm -rf weitrix.Rcheck vignettes/*.html vignettes/*_cache vignettes/*_files docs weitrix_*.tar.gz
.PHONY : document data check bioccheck test install vignette site site-devel articles-devel publish clean