We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca593c8 commit 24e669fCopy full SHA for 24e669f
restore.cmd
@@ -0,0 +1,3 @@
1
+@echo off
2
+powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore %*"
3
+exit /b %ErrorLevel%
restore.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+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/common/build.sh" --restore $@
0 commit comments