mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-25 14:43:32 +02:00
remove R/build.R from the repo
This commit is contained in:
parent
6b05e21804
commit
9c9c90e5ab
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
)
|
Loading…
Reference in a new issue