Skip to content

Commit bb15d5d

Browse files
author
Anthony Sneed
committed
Add license to NuGet package.
1 parent 95e7fe5 commit bb15d5d

File tree

4 files changed

+29
-5
lines changed

4 files changed

+29
-5
lines changed
779 Bytes
Binary file not shown.
Binary file not shown.

src/EntityFrameworkCore.Scaffolding.Handlebars/EntityFrameworkCore.Scaffolding.Handlebars.csproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Company>Tony Sneed</Company>
99
<Title>Entity Framework Core Scaffolding with Handlebars</Title>
1010
<Description>Allows customization of classes reverse engineered from an existing database using the Entity Framework Core toolchain with Handlebars templates.</Description>
11-
<PackageLicenseUrl>https://github.com/TrackableEntities/EntityFrameworkCore.Scaffolding.Handlebars/blob/master/LICENSE</PackageLicenseUrl>
11+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1212
<PackageProjectUrl>https://github.com/TrackableEntities/EntityFrameworkCore.Scaffolding.Handlebars</PackageProjectUrl>
1313
<PackageIconUrl>https://user-images.githubusercontent.com/2836367/31976914-e533eec4-b8ff-11e7-95ce-394df5cbe72b.png</PackageIconUrl>
1414
<PackageTags>scaffolding reverse-engineer entity-framework-core handlebars</PackageTags>
@@ -28,10 +28,6 @@
2828
<DocumentationFile>bin\Release\netstandard2.0\EntityFrameworkCore.Scaffolding.Handlebars.xml</DocumentationFile>
2929
</PropertyGroup>
3030

31-
<ItemGroup>
32-
<None Remove="CodeTemplates\CSharpEntityType\Partials\Constructor - Copy.hbs" />
33-
</ItemGroup>
34-
3531
<ItemGroup>
3632
<!-- pack tempate files -->
3733
<Content Include="CodeTemplates\CSharpDbContext\DbContext.hbs" PackagePath="lib\netstandard2.0\CodeTemplates\CSharpDbContext\" />
@@ -53,13 +49,20 @@
5349
<Folder Include="Properties\" />
5450
</ItemGroup>
5551

52+
<ItemGroup>
53+
<None Include="LICENSE" Pack="true" PackagePath=""/>
54+
</ItemGroup>
55+
5656
<ItemGroup>
5757
<None Update="CodeTemplates\CSharpDbContext\DbContext.hbs">
5858
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
5959
</None>
6060
<None Update="CodeTemplates\CSharpDbContext\Partials\DbImports.hbs">
6161
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
6262
</None>
63+
<None Update="CodeTemplates\CSharpDbContext\Partials\DbConstructor.hbs">
64+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
65+
</None>
6366
<None Update="CodeTemplates\CSharpDbContext\Partials\DbSets.hbs">
6467
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
6568
</None>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Trackable Entities
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)