-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
19 lines (16 loc) · 903 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.DEFAULT_GOAL := install
babsim:
@echo '🧪 Installing babsim.hospital and its dependencies...'
@Rscript -e 'install.packages("devtools", repos = "http://cran.us.r-project.org")'
@Rscript -e 'devtools::install_github("https://github.com/RcppCore/Rcpp")'
@Rscript -e 'devtools::install_github("r-lib/devtools")'
@Rscript -e 'devtools::install_git(url = "http://owos.gm.fh-koeln.de:8055/bartz/spot.git")'
@Rscript -e 'install.packages(c("golem", "igraph", "lubridate", "markovchain", "padr", "rvest", "simmer", "slider", "plyr", "stringr", "checkmate"), repos = "http://cran.us.r-project.org")'
@Rscript -e 'install.packages ("babsim/babsim.hospital_11.8.4.tar.gz", repos=NULL, type="source")'
dependencies:
@echo '🚀 Installing dependencies...'
@npm install
@git submodule init
@git submodule update
@cd src/GeneticsJS && git checkout master && npm install
install: dependencies babsim