diff options
author | Yihui Xie | 2018-08-30 09:12:47 -0500 |
---|---|---|
committer | Yihui Xie | 2018-08-30 09:12:47 -0500 |
commit | 9c9c90e5ab0374627c3cbee1ac0eae3c2b4cc939 (patch) | |
tree | 0868942ee42977f5b96d6ec23e90551b9e9a4770 /exampleSite/R | |
parent | 6b05e2180441d5c08e89cff089f46a4f254a1e0f (diff) | |
download | hugo-xmin-9c9c90e5ab0374627c3cbee1ac0eae3c2b4cc939.tar.lz hugo-xmin-9c9c90e5ab0374627c3cbee1ac0eae3c2b4cc939.tar.zst hugo-xmin-9c9c90e5ab0374627c3cbee1ac0eae3c2b4cc939.zip |
remove R/build.R from the repo
Diffstat (limited to 'exampleSite/R')
-rw-r--r-- | exampleSite/R/build.R | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/exampleSite/R/build.R b/exampleSite/R/build.R deleted file mode 100644 index 2fbce83..0000000 --- a/exampleSite/R/build.R +++ /dev/null @@ -1,12 +0,0 @@ -if (Sys.getenv('USER') != 'yihui' || Sys.which('git') == '' || - !grepl( - 'git@github.com:yihui/hugo-xmin.git', - system2('git', c('remote', '-v'), stdout = TRUE) - )) q('no') - -file.copy('content/_index.markdown', '../README.md', overwrite = TRUE) -if (Sys.which('sed') != '') system("sed -i '' -e '1,6d' -e '34,38d' ../README.md") -cat( - '[![Screenshot](https://github.com/yihui/hugo-xmin/raw/master/images/screenshot.png)](https://xmin.yihui.name)\n', - file = '../README.md', append = TRUE -) |