File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @ echo off
2+ powershell -ExecutionPolicy ByPass -NoProfile -command " & " " " %~dp0 eng\build.ps1" " " -build -restore -rebuild -pack -test -runAnalyzers -warnAsError %* "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ source=" ${BASH_SOURCE[0]} "
4+
5+ # resolve $SOURCE until the file is no longer a symlink
6+ while [[ -h $source ]]; do
7+ scriptroot=" $( cd -P " $( dirname " $source " ) " && pwd ) "
8+ source=" $( readlink " $source " ) "
9+
10+ # if $source was a relative symlink, we need to resolve it relative to the path where the
11+ # symlink file was located
12+ [[ $source != /* ]] && source=" $scriptroot /$source "
13+ done
14+
15+ scriptroot=" $( cd -P " $( dirname " $source " ) " && pwd ) "
16+ " $scriptroot /eng/build.sh" --build --restore --rebuild --pack --test --runAnalyzers --warnAsError $@
You can’t perform that action at this time.
0 commit comments