Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 989e765

Browse files
authored
Merge branch 'master' into ui/i-made-a-huge-mistake
2 parents 5218f0d + 83e5677 commit 989e765

25 files changed

+55
-29
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
packages/
33
_NCrunch_GitHub.Unity
44
*.user
5-
.DS_Store
5+
.DS_Store
6+
build/
7+
TestResult.xml

appveyor.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,28 @@ clone_script:
1515
}
1616
1717
Set-Location $env:appveyor_build_folder
18+
1819
install:
1920
- ps: >-
20-
$full_build = Test-Path env:GHFU_KEY
21-
2221
git submodule sync
2322
2423
git submodule init
2524
25+
$full_build = Test-Path env:GHFU_KEY
26+
2627
if ($full_build) {
27-
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
28-
$fileContent += $env:GHFU_KEY.Replace(' ', "`n")
29-
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
30-
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
28+
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
29+
$fileContent += $env:GHFU_KEY.Replace(' ', "`n")
30+
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
31+
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
3132
} else {
32-
33+
git submodule deinit script
34+
$destdir = Join-Path $env:appveyor_build_folder 'lib'
35+
$destfile = Join-Path $destdir 'deps.zip'
36+
Set-Location $destdir
37+
Invoke-WebRequest "https://ghfvs-installer.github.com/dependencies/deps.zip" -OutFile $destfile
38+
&'7z' -bb3 x 'deps.zip'
39+
Set-Location $env:appveyor_build_folder
3340
}
3441
3542
git submodule update
@@ -45,4 +52,5 @@ test:
4552
- TimeSensitive
4653
artifacts:
4754
- path: unity\TestProject\Assets\Editor\*.dll
48-
- path: unity\TestProject\Assets\Editor\*.pdb
55+
- path: unity\TestProject\Assets\Editor\*.pdb
56+
- path: build\*.log

common/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ApplicationInfo_Local.cs

common/unitylocation.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\script\lib\UnityEditor.dll')">$(SolutionDir)\script\lib\</UnityDir>
5+
<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\lib\UnityEditor.dll')">$(SolutionDir)\lib\</UnityDir>
6+
<UnityDir Condition="$(UnityDir) == '' and Exists('C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.dll')">C:\Program Files (x86)\Unity\Editor\Data\Managed\</UnityDir>
7+
<UnityDir Condition="$(UnityDir) == '' and Exists('\Applications\Unity\Unity.app\Contents\Managed\UnityEditor.dll')">\Applications\Unity\Unity.app\Contents\Managed\</UnityDir>
8+
</PropertyGroup>
9+
<Target Name="BeforeBuild">
10+
<PropertyGroup>
11+
<ErrorText>Location of Unity dlls is not set. You'll need to install Unity in a known location (the default installation directory for your system), or copy UnityEngine.dll and UnityEditor.dll to the {0}lib folder</ErrorText>
12+
</PropertyGroup>
13+
<Error Condition="'$(UnityDir)' == ''" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)'))" />
14+
</Target>
15+
</Project>

lib/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Unity*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)