-
Notifications
You must be signed in to change notification settings - Fork 4
/
makefile
42 lines (26 loc) · 803 Bytes
/
makefile
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
default:
@echo quick [browserCode roxy install], build, check, biocCheck
quick: browserCode roxy install
all: browserCode roxy vig build install check
browserCode:
(cd inst/browserCode; make build.js)
roxy:
R -e "devtools::document()"
vig:
R -e "devtools::build_vignettes()"
build:
(cd ..; R CMD build igvR)
install:
(cd ..; R CMD INSTALL --no-test-load igvR)
check:
(cd ..; R CMD check --no-manual --ignore-vignettes `ls -t igvR_* | head -1`)
check.complete:
(cd ..; R CMD check `ls -t igvR_* | head -1`)
biocCheck:
(cd ..; R CMD BiocCheck `ls -t igvR_* | head -1`)
test:
(export BATCH_TEST_MODE="on"; for x in inst/unitTests/test_*.R; do echo ============== $$x; R -f $$x; done)
site:
R -e "devtools::build_site()"
rstudio:
open -a Rstudio inst/unitTests/childrensDemo.R