Skip to content

Commit 0895d1b

Browse files
authored
Directory cleanup and re-org (#500)
1 parent a8dd37c commit 0895d1b

62 files changed

Lines changed: 450 additions & 3018 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Jenkinsfile‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@ def packageAndArchive(buildMode, packageName) {
55
bat "IF EXIST ${zipFile} DEL ${zipFile}"
66
bat "IF EXIST ${packageDir} RMDIR /S /Q ${packageDir}"
77

8-
bat "xcopy bin\\x64\\${buildMode} ${packageDir}"
98

10-
bat "del ${packageDir}VRage.*"
11-
bat "del ${packageDir}Sandbox.*"
12-
bat "del ${packageDir}SpaceEngineers.*"
9+
bat "del bin\\x64\\${buildMode}\\lib\\Content"
10+
bat "del bin\\x64\\${buildMode}\\lib\\DedicatedServer64"
11+
bat "del bin\\x64\\${buildMode}\\lib\\steamapps"
12+
bat "del bin\\x64\\${buildMode}\\lib\\TempContent"
13+
bat "del bin\\x64\\${buildMode}\\lib\\Content"
14+
15+
16+
bat "xcopy bin\\x64\\${buildMode} ${packageDir} /S"
17+
18+
1319

1420
powershell "Add-Type -Assembly System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::CreateFromDirectory(\"\$PWD\\${packageDir}\", \"\$PWD\\${zipFile}\")"
1521
archiveArtifacts artifacts: zipFile, caseSensitive: false, onlyIfSuccessful: true
@@ -18,7 +24,7 @@ def packageAndArchive(buildMode, packageName) {
1824
node('windows') {
1925
stage('Checkout') {
2026
checkout scm
21-
bat "git pull https://github.com/TorchAPI/Torch/ $env.BRANCH_NAME --tags"
27+
//bat "git pull https://github.com/TorchAPI/Torch/ $env.BRANCH_NAME --tags"
2228
}
2329

2430
stage('Acquire SE') {
@@ -47,7 +53,7 @@ node('windows') {
4753
}
4854

4955
stage('Archive') {
50-
archiveArtifacts artifacts: "bin/x64/${buildMode}/Torch*", caseSensitive: false, fingerprint: true, onlyIfSuccessful: true
56+
archiveArtifacts artifacts: "bin/x64/${buildMode}/*", caseSensitive: false, fingerprint: true, onlyIfSuccessful: true
5157

5258
packageAndArchive(buildMode, "torch-server")
5359

‎Torch.API/Torch.API.csproj‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
</PropertyGroup>
1717
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
1818
<DebugSymbols>true</DebugSymbols>
19-
<OutputPath>$(SolutionDir)\bin\x64\Debug\</OutputPath>
19+
<OutputPath>..\bin\x64\Debug\lib\Torch\</OutputPath>
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<DebugType>full</DebugType>
2222
<PlatformTarget>x64</PlatformTarget>
2323
<ErrorReport>prompt</ErrorReport>
2424
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
2525
</PropertyGroup>
2626
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
27-
<OutputPath>$(SolutionDir)\bin\x64\Release\</OutputPath>
27+
<OutputPath>..\bin\x64\Release\lib\Torch\</OutputPath>
2828
<DefineConstants>TRACE</DefineConstants>
2929
<Optimize>true</Optimize>
3030
<DebugType>pdbonly</DebugType>
3131
<PlatformTarget>x64</PlatformTarget>
3232
<ErrorReport>prompt</ErrorReport>
3333
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
34-
<DocumentationFile>$(SolutionDir)\bin\x64\Release\Torch.API.xml</DocumentationFile>
34+
<DocumentationFile>..\bin\x64\Release\lib\Torch\Torch.API.xml</DocumentationFile>
3535
<NoWarn>1591</NoWarn>
3636
</PropertyGroup>
3737
<ItemGroup>
@@ -44,13 +44,11 @@
4444
<HintPath>..\GameBinaries\HavokWrapper.dll</HintPath>
4545
<Private>False</Private>
4646
</Reference>
47-
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
48-
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
49-
<Private>True</Private>
47+
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
48+
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
5049
</Reference>
5150
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
52-
<HintPath>..\packages\NLog.4.4.12\lib\net45\NLog.dll</HintPath>
53-
<Private>True</Private>
51+
<HintPath>..\packages\NLog.4.7.15\lib\net45\NLog.dll</HintPath>
5452
</Reference>
5553
<Reference Include="PresentationCore" />
5654
<Reference Include="PresentationFramework" />

‎Torch.API/WebAPI/JenkinsQuery.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Torch.API.WebAPI
1313
{
1414
public class JenkinsQuery
1515
{
16+
//Revert when ready
1617
private const string BRANCH_QUERY = "http://136.243.80.164:2690/job/Torch/job/{0}/" + API_PATH;
1718
private const string ARTIFACT_PATH = "artifact/bin/torch-server.zip";
1819
private const string API_PATH = "api/json";

‎Torch.API/packages.config‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Mono.TextTransform" version="1.0.0" targetFramework="net461" />
4-
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net461" />
5-
<package id="NLog" version="4.4.12" targetFramework="net461" />
4+
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net48" />
5+
<package id="NLog" version="4.7.15" targetFramework="net48" />
66
</packages>

‎Torch.Client.Tests/Properties/AssemblyInfo.cs‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎Torch.Client.Tests/Torch.Client.Tests.csproj‎

Lines changed: 0 additions & 98 deletions
This file was deleted.

‎Torch.Client.Tests/TorchClientReflectionTest.cs‎

Lines changed: 0 additions & 94 deletions
This file was deleted.

‎Torch.Client.Tests/app.config‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎Torch.Client.Tests/packages.config‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎Torch.Client/Manager/MultiplayerManagerClient.cs‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)