Skip to content

Commit

Permalink
Add build props
Browse files Browse the repository at this point in the history
  • Loading branch information
7sharp9 committed Sep 9, 2021
1 parent 1799df9 commit 77e2211
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
23 changes: 23 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project ToolsVersion="15.0">
<PropertyGroup>
<GitOwner>MoiraeSoftware</GitOwner>
<GitName>myriad</GitName>
<GitHome>https://github.com/$(gitOwner)</GitHome>
<GitUrl>$(gitHome)/$(gitName)</GitUrl>
<NupkgsDir>$([System.IO.Path]::GetFullPath("$(MSBuildThisFileDirectory)/bin/nupkg"))</NupkgsDir>
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">0.6.0</VersionPrefix>
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)$(VersionSuffix)</Version>
<!-- pack stuff -->
<TargetFramework>net5.0</TargetFramework>
<Authors>7sharp9</Authors>
<PackageProjectUrl>$(GitUrl)</PackageProjectUrl>
<PackageTags>fsharp;codegen;generation;metaprogramming</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>$(GitUrl)</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Copyright>Dave Thomas</Copyright>
<PackageReleaseNotes>$(Giturl)/blob/v$(NugetVersion)/CHANGELOG.md</PackageReleaseNotes>
<EnableSourceLink Condition=" 'Configuration' == 'Release' ">true</EnableSourceLink>
<NoWarn>$(NoWarn);FS2003;NU5128</NoWarn>
</PropertyGroup>
</Project>
23 changes: 1 addition & 22 deletions build.proj
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
<Project>

<PropertyGroup>
<GitOwner>MoiraeSoftware</GitOwner>
<GitName>myriad</GitName>
<GitHome>https://github.com/$(gitOwner)</GitHome>
<GitUrl>$(gitHome)/$(gitName)</GitUrl>
<NupkgsDir>$([System.IO.Path]::GetFullPath("$(MSBuildThisFileDirectory)/bin/nupkg"))</NupkgsDir>
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">0.6.0</VersionPrefix>
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)$(VersionSuffix)</Version>
<!-- pack stuff -->
<TargetFramework>net5.0</TargetFramework>
<Authors>7sharp9</Authors>
<PackageProjectUrl>$(GitUrl)</PackageProjectUrl>
<PackageTags>fsharp;codegen;generation;metaprogramming</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>$(GitUrl)</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Copyright>Dave Thomas</Copyright>
<PackageReleaseNotes>$(Giturl)/blob/v$(NugetVersion)/CHANGELOG.md</PackageReleaseNotes>
<EnableSourceLink Condition=" 'Configuration' == 'Release' ">true</EnableSourceLink>
<NoWarn>$(NoWarn);FS2003;NU5128</NoWarn>
</PropertyGroup>
<Import Project="Directory.Build.props" />

<Target Name="Clean">
<RemoveDir Directories="$(NupkgsDir)" />
Expand Down

0 comments on commit 77e2211

Please # to comment.