diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-18 17:55:12 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-18 17:55:12 +0100 |
| commit | 58082dfcdedc0f40a32af1f9d416b49ce9a2b2fd (patch) | |
| tree | b3afcf55c4c3d4374c82ce8e43e286934fc20674 | |
| parent | 594bce67be2e92e605fa00ab2f84fa0a32cae4ad (diff) | |
| download | vis-58082dfcdedc0f40a32af1f9d416b49ce9a2b2fd.tar.gz vis-58082dfcdedc0f40a32af1f9d416b49ce9a2b2fd.tar.xz | |
appveyor: try to fix yaml multiline syntax
| -rw-r--r-- | .appveyor.yml | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 81e4d20..9ed06d8 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,25 +30,24 @@ install: - '%CYG_ROOT%\bin\cygcheck --check-setup --dump-only' before_build: - - '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make clean"' - - ps: >- - $BashPath = $env:CYG_ROOT + "\bin\bash" + - ps: | + $bash = $env:CYG_ROOT + "\bin\bash" $cmd = "cd " + $env:APPVEYOR_BUILD_FOLDER + " && " $cmd += @' - for f in $(git ls-files -s | awk '$1 == 120000 {print $4}') - do - # echo $f is a symlink pointing to $dir/$target - dir=$(dirname "${f}") - pushd "$dir" 2>&1 > /dev/null - file=$(basename "$f") - target=`cat "$file"` - rm "$file" - ln -s "$target" "$file" - popd 2>&1 > /dev/null - done + for f in $(git ls-files -s | awk '$1 == 120000 {print $4}') + do + # echo $f is a symlink pointing to $dir/$target + dir=$(dirname "${f}") + pushd "$dir" 2>&1 > /dev/null + file=$(basename "$f") + target=`cat "$file"` + rm "$file" + ln -s "$target" "$file" + popd 2>&1 > /dev/null + done '@ - & $BashPath -lc $cmd + & $bash -lc $cmd build_script: - '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make local && file vis"' |
