-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (38 loc) · 1.16 KB
/
Makefile
File metadata and controls
52 lines (38 loc) · 1.16 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
49
50
51
52
.PHONY: compile doc check install build_site run_main test clean
all: compile doc check
compile:
Rscript -e "Rcpp::compileAttributes()"
doc:
Rscript -e "devtools::document()"
check:
Rscript -e "devtools::check()"
check_fast:
Rscript -e "devtools::check(build_args = c('--no-build-vignettes'), args = c('--no-build-vignettes'))"
rhub_check_all:
Rscript -e "rhub::check_on_windows()"; \
Rscript -e "rhub::check_on_linux()"; \
Rscript -e "rhub::check_on_solaris()"; \
Rscript -e "rhub::check_on_debian()"; \
Rscript -e "rhub::check_on_macos()"; \
Rscript -e "rhub::check_on_fedora()"; \
Rscript -e "rhub::check_on_centos()"; \
rhub_check_cran:
Rscript -e "rhub::check_for_cran()"
install:
Rscript -e "devtools::install()"
install2:
cd ..; R CMD build molic/; \
R CMD INSTALL molic_2.0.3.tar.gz
test:
Rscript -e "devtools::test('~/Documents/phd/software/molic')"
readme:
Rscript -e "rmarkdown::render('README.Rmd')"
build_site:
Rscript -e "pkgdown::build_site()"
build:
Rscript -e "devtools::build()"; \
cd /home/mads/Documents/phd/software/; \
R CMD check --as-cran molic_2.0.3.tar.gz
clean:
rm -f README.html
cd src/ && rm -f *.o && rm -f *.so