Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.93 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.93 KB

ghul-targets

CI/CD NuGet version (ghul.targets) Release Release Date Issues License ghūl

This package provides MSBuild targets needed to build ghūl language projects. The targets work with the standard .NET SDK targets by overriding the CoreCompile target to call the ghūl compiler

This is a minimal example .ghulproj (ghūl project file) using the targets from this package:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>    
    <GhulCompiler>dotnet ghul-compiler</GhulCompiler>
    <GhulSources Include="**/*.ghul" /> <!-- build all files with a .ghul extension: -->
    
    <PackageReference Include="ghul.runtime" Version="1.1.1" /> <!-- ghūl runtime library -->
    <PackageReference Include="ghul.pipes" Version="1.1.1" /> <!-- ghūl pipes provides the pipe operator, filter, map reduce etc. -->
    <PackageReference Include="ghul.targets" Version="1.2.3" /> <!-- this package provides ghūl MSBuild targets: -->
  </ItemGroup>
</Project>