From 52af267f6c5b524e278d9e63631de0d42af18772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Wed, 28 Dec 2022 20:42:34 +0100 Subject: [PATCH] Add quickstart setup scripts --- docs/Quickstart/RUNASADMIN.bat | 3 +++ docs/Quickstart/build.bat | 11 +++++++++++ docs/Quickstart/clone.bat | 3 +++ docs/Quickstart/setup_environment.bat | 7 +++++++ 4 files changed, 24 insertions(+) create mode 100644 docs/Quickstart/RUNASADMIN.bat create mode 100644 docs/Quickstart/build.bat create mode 100644 docs/Quickstart/clone.bat create mode 100644 docs/Quickstart/setup_environment.bat diff --git a/docs/Quickstart/RUNASADMIN.bat b/docs/Quickstart/RUNASADMIN.bat new file mode 100644 index 0000000..ee6339b --- /dev/null +++ b/docs/Quickstart/RUNASADMIN.bat @@ -0,0 +1,3 @@ +call setup_environment.bat +call clone.bat +call build.bat \ No newline at end of file diff --git a/docs/Quickstart/build.bat b/docs/Quickstart/build.bat new file mode 100644 index 0000000..ee15be5 --- /dev/null +++ b/docs/Quickstart/build.bat @@ -0,0 +1,11 @@ +@echo off + +cd Connected.Components/build +call buildProjects.bat +cd ../.. +cd Connected/build +call buildProjects.bat +pause +cd ../.. +cd Connected.Framework/build +call buildProjects.bat \ No newline at end of file diff --git a/docs/Quickstart/clone.bat b/docs/Quickstart/clone.bat new file mode 100644 index 0000000..11b3764 --- /dev/null +++ b/docs/Quickstart/clone.bat @@ -0,0 +1,3 @@ +git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Components.git +git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.git +git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Framework.git \ No newline at end of file diff --git a/docs/Quickstart/setup_environment.bat b/docs/Quickstart/setup_environment.bat new file mode 100644 index 0000000..728bd83 --- /dev/null +++ b/docs/Quickstart/setup_environment.bat @@ -0,0 +1,7 @@ +@echo off + +set /p LOCAL_NUGET="Enter the path to a folder for the local NuGet repository: " + +setx /M LOCAL_NUGET "%LOCAL_NUGET%" +setx LOCAL_NUGET "%LOCAL_NUGET%" +mkdir "%LOCAL_NUGET%" \ No newline at end of file