Skip to content

Commit 2e52611

Browse files
committed
Include README.md to NuGet package
1 parent 3bd1c40 commit 2e52611

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

ArrayDeconstructors.Source.nuspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@
55
<version>1.0.3</version>
66
<authors>Alexander Zaytsev</authors>
77
<owners>hazzik</owners>
8-
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl>
8+
<license type="expression">MIT</license>
99
<projectUrl>https://github.com/hazzik/ArrayDeconstructors</projectUrl>
1010
<developmentDependency>true</developmentDependency>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<readme>docs/README.md</readme>
1213
<description><![CDATA[ArrayDeconstructors is a source package which allows you to use new C# 7 deconstruction syntax to deconstruct array into variables:
1314
1415
int[] array = <...>;
1516
var (a,b) = array;]]></description>
16-
<copyright>Alexander Zaytsev © 2017</copyright>
17+
<copyright>Alexander Zaytsev © 2017-2022</copyright>
1718
<tags>deconstructor deconstruction array arrays tuple tuples</tags>
1819
</metadata>
1920
<files>
2021
<file src="ArrayDeconstructors.cs.pp" target="content/App_Code/ArrayDeconstructors.cs.pp" />
2122
<file src="ArrayDeconstructors.cs.pp" target="contentFiles/cs/any/ArrayDeconstructors.cs.pp" />
23+
<file src="README.md" target="docs/" />
2224
</files>
2325
</package>

ArrayDeconstructors.cs.pp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
#region LICENSE
22
/**
3-
MIT License
4-
5-
Copyright(c) 2017 Alexander Zaytsev
6-
7-
Permission is hereby granted, free of charge, to any person obtaining a copy
8-
of this software and associated documentation files (the "Software"), to deal
9-
in the Software without restriction, including without limitation the rights
10-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11-
copies of the Software, and to permit persons to whom the Software is
12-
furnished to do so, subject to the following conditions:
13-
14-
The above copyright notice and this permission notice shall be included in all
15-
copies or substantial portions of the Software.
16-
17-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3+
MIT License
4+
5+
Copyright(c) 2017-2022 Alexander Zaytsev
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
SOFTWARE.
2424
*/
2525
#endregion

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Alexander Zaytsev
3+
Copyright (c) 2017-2022 Alexander Zaytsev
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)