Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
graemeblair committed Apr 30, 2017
1 parent 4f8d547 commit d26e991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -21,7 +21,7 @@ test_script:

on_success:
- travis-tool.sh install_github graemeblair/drat
- git clone https://github.com/DeclareDesign/declaredesign.github.io drat
- sh deploy.sh

on_failure:
- 7z a failure.zip *.Rcheck\*
Expand Down
5 changes: 3 additions & 2 deletions deploy.sh
Expand Up @@ -4,7 +4,8 @@ PKG_REPO=$PWD
cd ..

addToDrat(){
mkdir drat; cd drat
mkdir drat
cd drat

## Set up Repo parameters
git init
Expand All @@ -19,7 +20,7 @@ addToDrat(){

Rscript -e "for(pkg in dir('..', pattern = '.t*z')) { drat::insertPackage(paste0('../', pkg), \
repodir = '.', \
commit='Travis update $PKG_REPO: build $TRAVIS_BUILD_NUMBER', branch = 'master') }"
commit='Travis update $APPVEYOR_PROJECT_NAME: build $APPVEYOR_REPO_COMMIT', branch = 'master') }"

git push 2>err.txt

Expand Down

0 comments on commit d26e991

Please sign in to comment.