vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit b4e9b3fd8ae13ce4c99f0c0c4976c2871eac89aa
parent ca9ac79c397022d7f0293a9852b5db251f45c2c3
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat, 18 Feb 2017 17:55:12 +0100

appveyor: try to fix yaml multiline syntax

Diffstat:
M.appveyor.yml | 29++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)

diff --git 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"'