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 70902df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
14 changes: 9 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,14 @@ 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 +86,7 @@ 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|tar zcf ${APPVEYOR_BUILD_FOLDER}/TinyTeX-0.tgz -C ~/Library TinyTeX|' tools/install-unx.sh
- ./tools/install-unx.sh
- tar zcf TinyTeX-1.tgz -C ~/Library TinyTeX

Expand Down Expand Up @@ -114,9 +118,9 @@ 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 -i 's|# finished base|tar zcf ${APPVEYOR_BUILD_FOLDER}/TinyTeX-0.tar.gz -C ~ .TinyTeX|' 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
2 changes: 1 addition & 1 deletion tools/install-unx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rm -rf $TEXDIR
mkdir -p $TEXDIR
mv texlive/* $TEXDIR
rm -r texlive
# finished base install
# finished base

$TEXDIR/bin/*/tlmgr install $(download https://yihui.org/gh/tinytex/tools/pkgs-custom.txt | tr '\n' ' ')

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 70902df

Please sign in to comment.