Skip to content

Commit 3870811

Browse files
[CI] Add missing Program script resources;
1 parent 643c1f1 commit 3870811

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
3+
namespace Staple
4+
{
5+
static class Program
6+
{
7+
public static void Main(string[] args)
8+
{
9+
Console.WriteLine($"Staple: Registering type cache");
10+
11+
TypeCacheRegistration.RegisterAll();
12+
13+
Console.WriteLine($"Staple: Registered {TypeCache.AllTypes().Length} types");
14+
15+
StaplePlayer.Run(args);
16+
}
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
3+
namespace Staple
4+
{
5+
static class Program
6+
{
7+
public static void Main(string[] args)
8+
{
9+
Console.WriteLine($"Staple: Registering type cache");
10+
11+
TypeCacheRegistration.RegisterAll();
12+
13+
Console.WriteLine($"Staple: Registered {TypeCache.AllTypes().Length} types");
14+
15+
StaplePlayer.Run(args);
16+
}
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
3+
namespace Staple
4+
{
5+
static class Program
6+
{
7+
public static void Main(string[] args)
8+
{
9+
Console.WriteLine($"Staple: Registering type cache");
10+
11+
TypeCacheRegistration.RegisterAll();
12+
13+
Console.WriteLine($"Staple: Registered {TypeCache.AllTypes().Length} types");
14+
15+
StaplePlayer.Run(args);
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)