Skip to content

Commit

Permalink
Improve readme + tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Atlinx committed Feb 11, 2023
1 parent e7934d1 commit c2c0332
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 7 deletions.
29 changes: 23 additions & 6 deletions GDTask.sln
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GDTask", "GDTask.csproj", "{CD948EAF-E39E-45E7-A13E-7A74700EFFF1}"

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.32630.194
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GDTask", "GDTask.csproj", "{CD948EAF-E39E-45E7-A13E-7A74700EFFF1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StubProject", "addons\GodotVisualStudioStub\StubProject.csproj", "{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
ExportDebug|Any CPU = ExportDebug|Any CPU
ExportRelease|Any CPU = ExportRelease|Any CPU
Debug|Any CPU = Debug|Any CPU
ExportDebug|Any CPU = ExportDebug|Any CPU
ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CD948EAF-E39E-45E7-A13E-7A74700EFFF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -15,5 +20,17 @@ Global
{CD948EAF-E39E-45E7-A13E-7A74700EFFF1}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{CD948EAF-E39E-45E7-A13E-7A74700EFFF1}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{CD948EAF-E39E-45E7-A13E-7A74700EFFF1}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}.ExportDebug|Any CPU.ActiveCfg = Debug|Any CPU
{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}.ExportDebug|Any CPU.Build.0 = Debug|Any CPU
{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}.ExportRelease|Any CPU.ActiveCfg = Debug|Any CPU
{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}.ExportRelease|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8B0106CE-747F-4EF9-BA0F-6220BBDA9D55}
EndGlobalSection
EndGlobal
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,22 @@ public Test : Node
GD.Print("Finished long task.");
}
}
```
```

## Installation

Manual

1. Download the repository
2. Move the `addons/GDTask` folder into `addons/GDTask`

Git Submodules

1. Make sure your project has a git repo initialized
2. Run

``` bash
git submodule add -b release https://github.com/fractural/GDTask.git addons/GDTask
```

3. Add `addons/GDTask/Autoload/GDTaskPlayerLoopAutoload` as an autoload
33 changes: 33 additions & 0 deletions addons/GodotVisualStudioStub/StubProject.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B83A5A30-7D9A-4BCC-BB56-2974A2AAE767}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>StubProj</RootNamespace>
<AssemblyName>StubProj</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<ProjectTypeGuids>{8F3E2DF0-C35C-4265-82FC-BEA011F4A7ED};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\*.csproj">
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

0 comments on commit c2c0332

Please sign in to comment.