forked from rdiaz02/OncoSimul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-test-bioc.sh-former
executable file
·44 lines (31 loc) · 1.11 KB
/
build-test-bioc.sh-former
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
#!/bin/bash
## NO LONGER USED.
## To test the code I place in the Subversion-in-BioC directory
## before svn commit that stuff.
## That directory is not under vc by git, of course.
V_R=$1
cd ./Subversion-in-BioC
V_ADA=$(cat ./OncoSimulR/DESCRIPTION | grep Version | cut -d' ' -f2)
rm OncoSimulR_$V_ADA.tar.gz
# rm ./OncoSimulR/src/*.so
# rm ./OncoSimulR/src/*.o
# rm ./OncoSimulR/src/OncoSimulR.so
# rm ./OncoSimulR/src/OncoSimul.o
# rm ./OncoSimulR/src/OncoSimulR_init.o
# rm ./OncoSimulR/src/symbols.rds
# rm /OncoSimulR.Rcheck/* -r -f
# rm ./OncoSimulR.Rcheck/* -r -f
# # rm ./OncoSimulR/inst/doc/auto/*
# # rmdir ./OncoSimulR/inst/doc/auto
# rm ./OncoSimulR/vignettes/auto/*
# rmdir ./OncoSimulR/vignettes/auto
# rm ./OncoSimulR/vignettes/*.bbl
# rm ./OncoSimulR/vignettes/*.aux
# rm ./OncoSimulR/vignettes/*.toc
# rm ./OncoSimulR/vignettes/*.tex
# rm ./OncoSimulR/vignettes/*.pdf
# rm ./OncoSimulR/vignettes/*.log
# rm ./OncoSimulR/vignettes/*.out
# rm ./OncoSimulR/vignettes/*.blg
time $V_R CMD build --keep-empty-dirs --no-resave-data OncoSimulR
time $V_R CMD check --no-vignettes --timings OncoSimulR_$V_ADA.tar.gz