diff --git a/Scripts/Deploy.proj b/Scripts/Deploy.proj index 6d9837b..9a26ae7 100644 --- a/Scripts/Deploy.proj +++ b/Scripts/Deploy.proj @@ -167,6 +167,7 @@ foreach(var line in File.ReadLines(Path)) { var match = re.Match(line); + //Console.WriteLine("Checking line : {0}", line); if(match.Success) { Value = match.Groups[1].Value; @@ -181,7 +182,7 @@ - + diff --git a/Scripts/deploy-debug.bat b/Scripts/deploy-debug.bat index 712dfc2..f07931e 100644 --- a/Scripts/deploy-debug.bat +++ b/Scripts/deploy-debug.bat @@ -1,4 +1,4 @@ -REM Builds and packages the release +REM Builds the Debug binaries and deploys them to your KSP Directory REM SETLOCAL EnableDelayedExpansion diff --git a/Scripts/deploy-debug.sh b/Scripts/deploy-debug.sh new file mode 100755 index 0000000..483251d --- /dev/null +++ b/Scripts/deploy-debug.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Builds the Debug binaries and deploys them to your KSP Directory + +if ! command -v msbuild &>/dev/null +then + echo Could not find 'msbuild' in the path. Please ensure it is installed properly. + exit 1 +fi + +cd "$(dirname "$0")" +msbuild Deploy.proj /target:Deploy-DEBUG + diff --git a/Scripts/deploy.bat b/Scripts/deploy.bat index e42e8ee..4711b2c 100644 --- a/Scripts/deploy.bat +++ b/Scripts/deploy.bat @@ -1,4 +1,4 @@ -REM Builds and packages the release +REM Builds the Release binaries and deploys them to your KSP Directory REM SETLOCAL EnableDelayedExpansion diff --git a/Scripts/deploy.sh b/Scripts/deploy.sh new file mode 100755 index 0000000..99344d0 --- /dev/null +++ b/Scripts/deploy.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Builds the Release binaries and deploys them to your KSP Directory + +if ! command -v msbuild &>/dev/null +then + echo Could not find 'msbuild' in the path. Please ensure it is installed properly. + exit 1 +fi + +cd "$(dirname "$0")" +msbuild Deploy.proj /target:Deploy + diff --git a/Scripts/release.sh b/Scripts/release.sh new file mode 100755 index 0000000..d52c0bb --- /dev/null +++ b/Scripts/release.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Builds and packages the release + +if ! command -v msbuild &>/dev/null +then + echo Could not find 'msbuild' in the path. Please ensure it is installed properly. + exit 1 +fi + +cd "$(dirname "$0")" +msbuild Deploy.proj /target:Release +