Skip to content

Commit

Permalink
renamed the chocolatey-tinytex repo
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Sep 15, 2020
1 parent 251bdb9 commit b74b1bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ for:

deploy:
provider: GitHub
repository: yihui/chocolatey-tinytex
repository: yihui/tinytex-windows
tag: $(TINYTEX_TAG)
release: TinyTeX $(TINYTEX_TAG)
description: '`TinyTeX-0.zip` contains the `infraonly` scheme of TeX Live, without any LaTeX packages. `TinyTeX-1.zip` contains enough LaTeX packages to compile R Markdown documents. `TinyTeX.zip` contains even more LaTeX packages. Please see https://github.com/yihui/chocolatey-tinytex for more info.'
description: '`TinyTeX-0.zip` contains the `infraonly` scheme of TeX Live, without any LaTeX packages. `TinyTeX-1.zip` contains enough LaTeX packages to compile R Markdown documents. `TinyTeX.zip` contains even more LaTeX packages. Please see https://github.com/yihui/tinytex-windows for more info.'
auth_token:
secure: 7J9/ZS/EeHhAuxS+mtlT7mPKyLSEmXHRXK1fhBGSptLTmcIFqTbdRHRcTcgEB89n
on:
Expand All @@ -82,7 +82,10 @@ for:
- R CMD INSTALL .

build_script:
- "sed -i '' 's|# finished base install|tar zcf TinyTeX-0.tgz -C ~/Library TinyTeX|' tools/install-unx.sh"
- sed -i '' 's|# finished base install|tar zcf TinyTeX-0.tgz -C ~/Library TinyTeX|' tools/install-unx.sh
- cat tools/install-unx.sh
- sed -i 's|# finished base install|tar zcf TinyTeX-0.tgz -C ~/Library TinyTeX|' tools/install-unx.sh
- cat tools/install-unx.sh
- ./tools/install-unx.sh
- tar zcf TinyTeX-1.tgz -C ~/Library TinyTeX

Expand Down Expand Up @@ -114,9 +117,12 @@ for:
- R CMD INSTALL .

build_script:
- "sed -i 's|# finished base install|tar zcf TinyTeX-0.tar.gz -C ~ .TinyTeX|' tools/install-unx.sh"
- sed 's|# finished base install|tar zcf TinyTeX-0.tar.gz -C ~ .TinyTeX|' tools/install-unx.sh
- cat tools/install-unx.sh
- sed -i 's|# finished base install|tar zcf TinyTeX-0.tar.gz -C ~ .TinyTeX|' tools/install-unx.sh
- cat tools/install-unx.sh
- ./tools/install-unx.sh
- tar zcf TinyTeX-1.tgz -C ~/Library TinyTeX
- tar zcf TinyTeX-1.tar.gz -C ~ .TinyTeX

test_script:
- export PATH="$HOME/bin:$PATH"
Expand Down
4 changes: 2 additions & 2 deletions tools/release-github.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ process_file = function(file, FUN = identity, x = xfun::read_utf8(file)) {
}

system(sprintf(
'git clone https://%[email protected]/yihui/chocolatey-tinytex.git',
'git clone https://%[email protected]/yihui/tinytex-windows.git',
Sys.getenv('GH_TOKEN')
))
xfun::in_dir('chocolatey-tinytex', {
xfun::in_dir('tinytex-windows', {
m = tools::md5sum('../TinyTeX-1.zip')
f = function(x, r, val) {
if (length(i <- grep(r, x)) != 1) stop('There must be a line that matches ', r)
Expand Down

0 comments on commit b74b1bc

Please sign in to comment.