Skip to content

Commit

Permalink
adding project file for dotnet tool
Browse files Browse the repository at this point in the history
  • Loading branch information
shiggan committed Dec 14, 2018
1 parent ba9cf01 commit 35c482c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/MGNZ.Squidex.CLI.GlobalTool/MGNZ.Squidex.CLI.GlobalTool.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>

<PackAsTool>true</PackAsTool>
<ToolCommandName>sq</ToolCommandName>
</PropertyGroup>

</Project>
12 changes: 12 additions & 0 deletions src/MGNZ.Squidex.CLI.GlobalTool/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace MGNZ.Squidex.CLI.GlobalTool
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}

0 comments on commit 35c482c

Please sign in to comment.