Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
dotnet-version: '8.0.x'

# Build
- run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
dotnet-version: '8.0.x'

- name: "dotnet build & pack"
run: |
Expand Down
2 changes: 1 addition & 1 deletion Kurukuru.Sample/Kurukuru.Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
1 change: 1 addition & 0 deletions Kurukuru.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
README.md = README.md
UpdatePatterns.js = UpdatePatterns.js
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub Actions", "GitHub Actions", "{FC83AC91-80D8-4847-A69D-887138048F2A}"
Expand Down
2 changes: 1 addition & 1 deletion Kurukuru/Kurukuru.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net45;net5.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
14 changes: 14 additions & 0 deletions Kurukuru/Pattern.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace Kurukuru
{
public class Pattern
{
public string[] Frames { get; }
public int Interval { get; }

public Pattern(string[] frames, int interval)
{
Frames = frames;
Interval = interval;
}
}
}
Loading
Loading