From 23efb8dec73e281c8f30b7fae15b250ea300c1de Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Thu, 4 Apr 2019 12:41:43 -0500 Subject: [PATCH] Add zip --- .gitignore | 1 + README.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index b08671553..c97bfdc04 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ temp.Rmd figures _book _main.* +adv-r-source.zip diff --git a/README.md b/README.md index 0f4c34e17..20beeb914 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,12 @@ RMarkdown * Beware caching: after changing the size of an image you may need to clear the cache before it is correctly updated. +To zip files to for publisher: + +``` +zip -r adv-r-source.zip . -x '_book/*' -x '_bookdown_files/*' -x main.pdf -x 'www/*' -x '.*' +``` + ## Code of conduct Please note that Advanced R is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).