1
0
Fork 0

rediriecting stderr

This commit is contained in:
Christian Kühnel 2019-12-13 16:17:43 +00:00
parent 2a2944e5c3
commit 1d289d2417

View file

@ -15,12 +15,12 @@
if (Test-Path -PathType Container .git){
Write-Output "performing git pull..."
git checkout master
git reset --hard
git clean -fdx
git pull
git checkout master 2>&1
git reset --hard 2>&1
git clean -fdx 2>&1
git pull 2>&1
# TODO: in case of errors: delete folder and clone
} else {
Write-Output "performing git clone..."
git clone --depth 1 https://github.com/llvm/llvm-project
git clone --depth 1 https://github.com/llvm/llvm-project 2>&1
}