summaryrefslogtreecommitdiff
path: root/tests/src/performance/linkbench/scripts/clone.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/performance/linkbench/scripts/clone.cmd')
-rw-r--r--tests/src/performance/linkbench/scripts/clone.cmd30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/src/performance/linkbench/scripts/clone.cmd b/tests/src/performance/linkbench/scripts/clone.cmd
new file mode 100644
index 0000000000..ae28d41d08
--- /dev/null
+++ b/tests/src/performance/linkbench/scripts/clone.cmd
@@ -0,0 +1,30 @@
+@echo off
+
+rmdir /s /q LinkBench
+
+set ROOT=%cd%\LinkBench
+mkdir LinkBench 2> nul
+pushd %ROOT%
+
+mkdir HelloWorld
+cd HelloWorld
+dotnet new console
+if errorlevel 1 exit /b 1
+cd ..
+
+mkdir WebAPI
+cd WebAPI
+dotnet new webapi
+if errorlevel 1 exit /b 1
+cd ..
+
+git clone https://github.com/aspnet/JitBench -b dev
+if errorlevel 1 exit /b 1
+
+git clone http://github.com/dotnet/corefx
+if errorlevel 1 exit /b 1
+
+git clone https://github.com/dotnet/roslyn.git
+if errorlevel 1 exit /b 1
+
+popd \ No newline at end of file