mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-10 08:08:26 -06:00
Meta-level project configuration, .gitignore, build script fixes
This commit is contained in:
66
.gitignore
vendored
66
.gitignore
vendored
@@ -1 +1,65 @@
|
|||||||
.idea
|
.idea
|
||||||
|
/Assemblies/Assembly-CSharp.dll
|
||||||
|
/Assemblies/Assembly-CSharp-firstpass.dll
|
||||||
|
/Assemblies/com.rlabrecque.steamworks.net.dll
|
||||||
|
/Assemblies/HydroponicsExpanded.dll
|
||||||
|
/Assemblies/HydroponicsExpanded.pdb
|
||||||
|
/Assemblies/ISharpZipLib.dll
|
||||||
|
/Assemblies/NAudio.dll
|
||||||
|
/Assemblies/NVorbis.dll
|
||||||
|
/Assemblies/Unity.TextMeshPro.dll
|
||||||
|
/Assemblies/UnityEngine.AccessibilityModule.dll
|
||||||
|
/Assemblies/UnityEngine.AIModule.dll
|
||||||
|
/Assemblies/UnityEngine.AndroidJNIModule.dll
|
||||||
|
/Assemblies/UnityEngine.AnimationModule.dll
|
||||||
|
/Assemblies/UnityEngine.ARModule.dll
|
||||||
|
/Assemblies/UnityEngine.AssetBundleModule.dll
|
||||||
|
/Assemblies/UnityEngine.AudioModule.dll
|
||||||
|
/Assemblies/UnityEngine.ClothModule.dll
|
||||||
|
/Assemblies/UnityEngine.ClusterInputModule.dll
|
||||||
|
/Assemblies/UnityEngine.ClusterRendererModule.dll
|
||||||
|
/Assemblies/UnityEngine.CoreModule.dll
|
||||||
|
/Assemblies/UnityEngine.CrashReportingModule.dll
|
||||||
|
/Assemblies/UnityEngine.DirectorModule.dll
|
||||||
|
/Assemblies/UnityEngine.dll
|
||||||
|
/Assemblies/UnityEngine.DSPGraphModule.dll
|
||||||
|
/Assemblies/UnityEngine.GameCenterModule.dll
|
||||||
|
/Assemblies/UnityEngine.GridModule.dll
|
||||||
|
/Assemblies/UnityEngine.ImageConversionModule.dll
|
||||||
|
/Assemblies/UnityEngine.IMGUIModule.dll
|
||||||
|
/Assemblies/UnityEngine.InputLegacyModule.dll
|
||||||
|
/Assemblies/UnityEngine.InputModule.dll
|
||||||
|
/Assemblies/UnityEngine.JSONSerializeModule.dll
|
||||||
|
/Assemblies/UnityEngine.LocalizationModule.dll
|
||||||
|
/Assemblies/UnityEngine.ParticleSystemModule.dll
|
||||||
|
/Assemblies/UnityEngine.PerformanceReportingModule.dll
|
||||||
|
/Assemblies/UnityEngine.Physics2DModule.dll
|
||||||
|
/Assemblies/UnityEngine.PhysicsModule.dll
|
||||||
|
/Assemblies/UnityEngine.ScreenCaptureModule.dll
|
||||||
|
/Assemblies/UnityEngine.SharedInternalsModule.dll
|
||||||
|
/Assemblies/UnityEngine.SpriteMaskModule.dll
|
||||||
|
/Assemblies/UnityEngine.SpriteShapeModule.dll
|
||||||
|
/Assemblies/UnityEngine.StreamingModule.dll
|
||||||
|
/Assemblies/UnityEngine.SubsystemsModule.dll
|
||||||
|
/Assemblies/UnityEngine.TerrainModule.dll
|
||||||
|
/Assemblies/UnityEngine.TerrainPhysicsModule.dll
|
||||||
|
/Assemblies/UnityEngine.TextCoreModule.dll
|
||||||
|
/Assemblies/UnityEngine.TextRenderingModule.dll
|
||||||
|
/Assemblies/UnityEngine.TilemapModule.dll
|
||||||
|
/Assemblies/UnityEngine.UI.dll
|
||||||
|
/Assemblies/UnityEngine.UIElementsModule.dll
|
||||||
|
/Assemblies/UnityEngine.UIModule.dll
|
||||||
|
/Assemblies/UnityEngine.UNETModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityAnalyticsModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityConnectModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityWebRequestAssetBundleModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityWebRequestAudioModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityWebRequestModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityWebRequestTextureModule.dll
|
||||||
|
/Assemblies/UnityEngine.UnityWebRequestWWWModule.dll
|
||||||
|
/Assemblies/UnityEngine.VehiclesModule.dll
|
||||||
|
/Assemblies/UnityEngine.VFXModule.dll
|
||||||
|
/Assemblies/UnityEngine.VideoModule.dll
|
||||||
|
/Assemblies/UnityEngine.VRModule.dll
|
||||||
|
/Assemblies/UnityEngine.WindModule.dll
|
||||||
|
/Assemblies/UnityEngine.XRModule.dll
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>false</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>../../Assemblies</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
@@ -26,19 +26,30 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>../../Assemblies</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="Assembly-CSharp">
|
||||||
|
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="UnityEngine">
|
||||||
|
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.CoreModule">
|
||||||
|
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Class1.cs" />
|
<Compile Include="Buildings\Building_DenseHydroponicsBasin.cs" />
|
||||||
|
<Compile Include="Enums\HydroponicsStage.cs" />
|
||||||
|
<Compile Include="ModExtension\CapacityExtension.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CProgram_0020Files_0020_0028x86_0029_005CSteam_005Csteamapps_005Ccommon_005CRimWorld_005CRimWorldWin64_005FData_005CManaged_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CProgram_0020Files_0020_0028x86_0029_005CSteam_005Csteamapps_005Ccommon_005CRimWorld_005CRimWorldWin64_005FData_005CManaged_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CProgram_0020Files_0020_0028x86_0029_005CSteam_005Csteamapps_005Ccommon_005CRimWorld_005CRimWorldWin64_005FData_005CManaged_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue"><AssemblyExplorer>
|
||||||
|
<Assembly Path="C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll" />
|
||||||
|
<Assembly Path="C:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll" />
|
||||||
|
</AssemblyExplorer></s:String>
|
||||||
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=fillable/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
||||||
6
build.py
6
build.py
@@ -28,16 +28,16 @@ def main(output_directory: Path) -> None:
|
|||||||
|
|
||||||
for folder in pertinents_folders:
|
for folder in pertinents_folders:
|
||||||
destination_folder_path: Path = output_mod_directory / folder
|
destination_folder_path: Path = output_mod_directory / folder
|
||||||
|
|
||||||
# Ignore folders that don't exist.
|
# Ignore folders that don't exist.
|
||||||
if not destination_folder_path.exists():
|
if not destination_folder_path.exists():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
has_children: bool = any(destination_folder_path.iterdir())
|
has_children: bool = any(destination_folder_path.iterdir())
|
||||||
logger.debug('Clearing "{}" folder.'.format(folder))
|
logger.debug('Clearing "{}" folder.'.format(folder))
|
||||||
if has_children:
|
if has_children:
|
||||||
rmtree(destination_folder_path)
|
rmtree(destination_folder_path)
|
||||||
destination_folder_path.rmdir()
|
# destination_folder_path.rmdir()
|
||||||
else:
|
else:
|
||||||
output_mod_directory.mkdir(parents=False)
|
output_mod_directory.mkdir(parents=False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user