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).