From 35c03d637d88d88cc5f7de38c830f2acfcd2776a Mon Sep 17 00:00:00 2001 From: pegeler Date: Fri, 29 Jun 2018 00:00:08 -0400 Subject: [PATCH] Appveyor config for R package. See yml for details --- appveyor.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4d9d356..0f5c42f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,13 +1,12 @@ # DO NOT CHANGE the "init" and "install" sections below -environment: - PKG_DIR: R - +# https://github.com/krlmlr/r-appveyor/issues/34#issuecomment-302016795 before_build: - - cp ..\travis-tool.sh .\travis-tool.sh - - cp travis-tool.sh.cmd %PKG_DIR%\travis-tool.sh.cmd - - cd %PKG_DIR% - - bash -c "echo '^travis-tool\.sh\.cmd$' >> .Rbuildignore" + ps: | + cp ..\travis-tool.sh R\travis-tool.sh + cp travis-tool.sh.cmd R\travis-tool.sh.cmd + cd R + bash -c "echo '^travis-tool\.sh\.cmd$' >> .Rbuildignore" # Download script file from GitHub init: