Create empty generated files to MSBuild doesn't freak.

This commit is contained in:
Westin Miller
2017-08-22 23:03:44 -07:00
parent be9a8c5839
commit 56e45236d8
3 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1 @@
Get-ChildItem -Recurse -Filter "*.csproj" | Select-String -Pattern '"[^"]+Gen.cs' -AllMatches | ForEach-Object {echo $null > ("{0}/../{1}" -f $_.Path, $_.Matches.Value.Substring(1))}

3
Jenkinsfile vendored
View File

@@ -4,7 +4,7 @@ node {
}
stage('Acquire SE') {
bat 'powershell -File jenkins-grab-se.ps1'
bat 'powershell -File Jenkins/jenkins-grab-se.ps1'
bat 'IF EXIST GameBinaries RMDIR GameBinaries'
bat 'mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
}
@@ -14,6 +14,7 @@ node {
}
stage('Build') {
bat 'powershell -File Jenkins/create-gen-files.ps1'
bat "\"${tool 'MSBuild'}msbuild\" Torch.sln /p:Configuration=Release /p:Platform=x64"
}