Skip to content

Commit d279203

Browse files
committed
Add compiler settings unity window
1 parent ecfc412 commit d279203

31 files changed

+446
-10
lines changed

build.fsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ Target "Package" (fun _ ->
4545
// copy output files
4646
"./core/IncrementalCompiler/bin/Release/IncrementalCompiler.packed.exe" |> CopyFile (compilerDir @@ "IncrementalCompiler.exe")
4747
"./core/IncrementalCompiler/IncrementalCompiler.xml" |> CopyFile compilerDir
48+
"./core/UnityPackage/Assets/Editor/CompilerSettings.cs" |> CopyFile editorDir
4849
"./extra/CompilerPlugin." + target + "/bin/Release/Unity.PureCSharpTests.dll" |> CopyFile (editorDir @@ "CompilerPlugin.dll")
4950
"./extra/UniversalCompiler/bin/Release/UniversalCompiler.exe" |> CopyFile compilerDir
51+
"./extra/UniversalCompiler/UniversalCompiler.xml" |> CopyFile compilerDir
5052
"./tools/pdb2mdb/pdb2mdb.exe" |> CopyFile compilerDir
5153
// create zipped packages
5254
!! (targetDir @@ "**") |> Zip targetDir (binDir @@ "IncrementalCompiler." + target + ".zip")

core/IncrementalCompiler/IncrementalCompiler.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@
9191
</ProjectReference>
9292
</ItemGroup>
9393
<ItemGroup>
94-
<Content Include="IncrementalCompiler.xml" />
94+
<Content Include="IncrementalCompiler.xml">
95+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
96+
</Content>
9597
</ItemGroup>
9698
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
9799
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

core/IncrementalCompiler/IncrementalCompiler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version="1.0" encoding="UTF-8"?><Settings> <!-- DebugSymbolFile: Type of debugging symbol file. - None : Nothing - Mdb : Create mono debug database (MDB) with embedded RoslynMdbWriter - Pdb : Create program database (PDB) - PdbToMdb : Create MDB file using pdb2mdb tool from generated pdb --> <DebugSymbolFile>Mdb</DebugSymbolFile> <!-- PrebuiltOutputReuse: - None : Alway emit fresh one - WhenNoChange : When nothing changed in sources and references, reuse prebuilt results. - WhenNoSourceChange : When nothing changed in sources and references (except update of some references), reuse prebuilt results. --> <PrebuiltOutputReuse>WhenNoChange</PrebuiltOutputReuse></Settings>
1+
<?xml version="1.0" encoding="UTF-8"?><Settings> <!-- DebugSymbolFile: Type of debugging symbol file. - None : Nothing - Mdb : Create mono debug database (MDB) with embedded RoslynMdbWriter - Pdb : Create program database (PDB) - PdbToMdb : Create MDB file using pdb2mdb tool from generated pdb --> <DebugSymbolFile>Mdb</DebugSymbolFile> <!-- PrebuiltOutputReuse: - None : Alway emit fresh one - WhenNoChange : When nothing changed in sources and references, reuse prebuilt results. - WhenNoSourceChange : When nothing changed in sources and references (except update of some references), reuse prebuilt results. --> <PrebuiltOutputReuse>WhenNoSourceChange</PrebuiltOutputReuse></Settings>

core/IncrementalCompiler/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
// You can specify all the values or you can default the Build and Revision Numbers
3030
// by using the '*' as shown below:
3131
// [assembly: AssemblyVersion("1.0.*")]
32-
[assembly: AssemblyVersion("1.1.1")]
33-
[assembly: AssemblyFileVersion("1.1.1")]
32+
[assembly: AssemblyVersion("1.1.2")]
33+
[assembly: AssemblyFileVersion("1.1.2")]

core/UnityPackage/.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/[Ll]ibrary/
2+
/[Tt]emp/
3+
/[Oo]bj/
4+
/[Bb]uild/
5+
6+
# Autogenerated VS/MD solution and project files
7+
*.csproj
8+
*.unityproj
9+
*.sln
10+
*.suo
11+
*.tmp
12+
*.user
13+
*.userprefs
14+
*.pidb
15+
*.booproj
16+
17+
# Unity3D generated meta files
18+
*.pidb.meta
19+
20+
# Unity3D Generated File On Crash Reports
21+
sysinfo.txt
22+
23+
# UnityPackage
24+
*.unitypackage
25+
26+
# IncrementalCompiler
27+
/Assets/Editor/CompilerPlugin*
28+
/Compiler/

core/UnityPackage/Assets/Editor.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)