mirror of
https://github.com/foxsen/archbase.git
synced 2026-04-02 10:20:39 +08:00
fix: replace little r with Rscript. Little r is not available in default env
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,14 +1,14 @@
|
||||
all:
|
||||
r -e 'bookdown::render_book()'
|
||||
Rscript -e 'bookdown::render_book()'
|
||||
|
||||
pdf:
|
||||
r -e 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
|
||||
Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
|
||||
|
||||
doc:
|
||||
r -e 'bookdown::render_book("index.Rmd", "bookdown::word_document2")'
|
||||
Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::word_document2")'
|
||||
|
||||
serve:
|
||||
r -e 'bookdown::serve_book()'
|
||||
Rscript -e 'bookdown::serve_book()'
|
||||
|
||||
clean:
|
||||
rm -rf _book _bookdown_files
|
||||
|
||||
Reference in New Issue
Block a user