Skip to content

Commit 5dc394c

Browse files
committed
Add: Nuspec
1 parent b2ca1be commit 5dc394c

11 files changed

+74
-238
lines changed

NeoCmd/NeoCmd.csproj

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>net45</TargetFramework>
5-
<Company>TecWare Gesellschaft für Softwareentwicklung mbH</Company>
6-
<Authors>Neolithos</Authors>
7-
<Product>Neo.Lua</Product>
8-
<PackageLicenseUrl>https://github.com/neolithos/neolua/blob/master/LICENSE.md</PackageLicenseUrl>
9-
<Copyright>https://github.com/neolithos/neolua/blob/master/LICENSE.md</Copyright>
10-
<PackageProjectUrl>https://github.com/neolithos/neolua/blob/master/LICENSE.md</PackageProjectUrl>
11-
<RepositoryUrl>https://github.com/neolithos/neolua.git</RepositoryUrl>
12-
<RepositoryType>git</RepositoryType>
13-
<AssemblyVersion>5.3.0.0</AssemblyVersion>
4+
<RootNamespace>NeoCmd</RootNamespace>
5+
<TargetFramework>net45</TargetFramework>
146
<ApplicationIcon />
157
<OutputType>Exe</OutputType>
168
<StartupObject />
17-
<RootNamespace>NeoCmd</RootNamespace>
189
</PropertyGroup>
19-
<ItemGroup>
10+
<Import Project="..\NeoLua.NuGet\common.targets" />
11+
<ItemGroup>
2012
<ProjectReference Include="..\NeoLua.Dbg\NeoLua.Dbg.csproj" />
2113
<ProjectReference Include="..\NeoLua\NeoLua.csproj" />
2214
</ItemGroup>

NeoLua.Dbg/NeoLua.Dbg.csproj

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>net45</TargetFrameworks>
4+
<RootNamespace>Neo.IronLua</RootNamespace>
5+
<TargetFrameworks>net45;netcoreapp2.0</TargetFrameworks>
56
<SignAssembly>true</SignAssembly>
67
<AssemblyOriginatorKeyFile>NeoLua.snk</AssemblyOriginatorKeyFile>
78
<PackageId>NeoLuaDebug</PackageId>
8-
<Authors>Neolithos</Authors>
9-
<Company>TecWare Gesellschaft für Softwareentwicklung mbH</Company>
10-
<Product>Neo.Lua</Product>
11-
<PackageProjectUrl>https://github.com/neolithos/neolua/</PackageProjectUrl>
12-
<PackageLicenseUrl>https://github.com/neolithos/neolua/blob/master/LICENSE.md</PackageLicenseUrl>
13-
<Copyright>Copyright © 2013-2015</Copyright>
14-
<RepositoryUrl>https://github.com/neolithos/neolua.git</RepositoryUrl>
15-
<RepositoryType>git</RepositoryType>
9+
<Description>A Lua implementation for the Dynamic Language Runtime (DLR). Debug-Extension.</Description>
1610
<PackageTags>Lua C# .net DLR Dynamic Language Debug</PackageTags>
17-
<AssemblyVersion>5.3.0.0</AssemblyVersion>
18-
<FileVersion>1.2.25.0</FileVersion>
1911
<NeutralLanguage></NeutralLanguage>
20-
<Description>A Lua implementation for the Dynamic Language Runtime (DLR). Debug-Extension.</Description>
21-
<RootNamespace>Neo.IronLua</RootNamespace>
2212
</PropertyGroup>
13+
<Import Project="..\NeoLua.NuGet\common.nupkg.targets" />
2314
<ItemGroup>
2415
<None Include="..\NeoLua\NeoLua.licenseheader" Link="NeoLua.licenseheader" />
2516
</ItemGroup>

NeoLua.MSBuild/NeoLua.MSBuild.csproj

+18-13
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,26 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFramework>net45</TargetFramework>
5-
<Company>TecWare Gesellschaft für Softwareentwicklung mbH</Company>
6-
<Copyright>Copyright © 2013-2015</Copyright>
7-
<Authors>Neolithos</Authors>
8-
<Product>Neo.Lua</Product>
9-
<AssemblyVersion>5.3.0.0</AssemblyVersion>
10-
<FileVersion>1.2.25.0</FileVersion>
11-
<PackageLicenseUrl>https://github.com/neolithos/neolua/blob/master/LICENSE.md</PackageLicenseUrl>
12-
<PackageProjectUrl>https://github.com/neolithos/neolua/</PackageProjectUrl>
13-
<RepositoryUrl>https://github.com/neolithos/neolua.git</RepositoryUrl>
14-
<RepositoryType>git</RepositoryType>
155
<PackageReleaseNotes>Write msbuild tasks with NeoLua.</PackageReleaseNotes>
16-
<PackageTags>Lua NeoLua .net MSBuild</PackageTags>
6+
<PackageId>NeoLuaMSBuild</PackageId>
7+
<PackageTags>Lua NeoLua .net MSBuild</PackageTags>
178
</PropertyGroup>
18-
<ItemGroup>
19-
<ProjectReference Include="..\NeoLua\NeoLua.csproj" />
9+
<Import Project="..\NeoLua.NuGet\common.targets" />
10+
11+
<!-- Pack -->
12+
<PropertyGroup>
13+
<IsTool>true</IsTool>
14+
<ContentTargetFolders>tools</ContentTargetFolders>
15+
<!--<NuspecFile>NeoLuaMSBuild.nuspec</NuspecFile>
16+
<NuspecProperties>outdir=$(OutputDirectory);authors=$(Authors);projectUrl=$(PackageProjectUrl);licenseUrl=$(PackageLicenseUrl)</NuspecProperties>-->
17+
</PropertyGroup>
18+
<ItemGroup>
19+
<Content Include="Init.ps1" />
20+
</ItemGroup>
21+
22+
<ItemGroup>
23+
<ProjectReference Include="..\NeoLua\NeoLua.csproj" Version="1.2.25">
24+
</ProjectReference>
2025
</ItemGroup>
2126
<ItemGroup>
2227
<Reference Include="Microsoft.Build.Framework" />

NeoLua.NuGet/NeoLua.NuGet.csproj

+2-85
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="Package.targets" />
2+
<Project Sdk="Microsoft.NET.Sdk">
43
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProductVersion>8.0.30703</ProductVersion>
8-
<SchemaVersion>2.0</SchemaVersion>
9-
<ProjectGuid>{0451BAEF-DF2E-4B98-8644-94EE9415E389}</ProjectGuid>
10-
<OutputType>Library</OutputType>
11-
<AppDesignerFolder>Properties</AppDesignerFolder>
124
<RootNamespace>NeoLua.NuGet</RootNamespace>
135
<AssemblyName>NeoLua.NuGet</AssemblyName>
14-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
15-
<TargetFrameworkProfile>
16-
</TargetFrameworkProfile>
17-
<FileAlignment>512</FileAlignment>
6+
<TargetFramework>net45</TargetFramework>
187
</PropertyGroup>
19-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20-
<PlatformTarget>AnyCPU</PlatformTarget>
21-
<DebugSymbols>true</DebugSymbols>
22-
<DebugType>full</DebugType>
23-
<Optimize>false</Optimize>
24-
<OutputPath>bin\Debug\</OutputPath>
25-
<DefineConstants>DEBUG;TRACE</DefineConstants>
26-
<ErrorReport>prompt</ErrorReport>
27-
<WarningLevel>4</WarningLevel>
28-
</PropertyGroup>
29-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30-
<PlatformTarget>AnyCPU</PlatformTarget>
31-
<DebugType>pdbonly</DebugType>
32-
<Optimize>true</Optimize>
33-
<OutputPath>bin\Release\</OutputPath>
34-
<DefineConstants>TRACE</DefineConstants>
35-
<ErrorReport>prompt</ErrorReport>
36-
<WarningLevel>4</WarningLevel>
37-
</PropertyGroup>
38-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
39-
<PlatformTarget>AnyCPU</PlatformTarget>
40-
<OutputPath>bin\Debug\</OutputPath>
41-
<Prefer32Bit>false</Prefer32Bit>
42-
</PropertyGroup>
43-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
44-
<PlatformTarget>AnyCPU</PlatformTarget>
45-
<OutputPath>bin\Release\</OutputPath>
46-
<Prefer32Bit>false</Prefer32Bit>
47-
</PropertyGroup>
48-
<PropertyGroup>
49-
<StartupObject />
50-
</PropertyGroup>
51-
<ItemGroup>
52-
<None Include="..\packages\NuGet.Manifest.Schema.2.0.4\Content\nuspec.2010.7.xsd">
53-
<Link>nuspec.2010.7.xsd</Link>
54-
<SubType>Designer</SubType>
55-
</None>
56-
<None Include="..\packages\NuGet.Manifest.Schema.2.0.4\Content\nuspec.2011.8.xsd">
57-
<Link>nuspec.2011.8.xsd</Link>
58-
<SubType>Designer</SubType>
59-
</None>
60-
<None Include="NeoLuaDebug.nuspec" />
61-
<None Include="NeoLuaMSBuild.nuspec" />
62-
<None Include="NuGet.config" />
63-
<None Include="NeoLua.nuspec" />
64-
<None Include="package.apikey.targets" />
65-
<None Include="package.targets">
66-
<SubType>Designer</SubType>
67-
</None>
68-
</ItemGroup>
69-
<ItemGroup>
70-
<ProjectReference Include="..\NeoCmd\NeoCmd.csproj">
71-
<Project>{afdb9919-9fed-45e9-8843-a731f822b98a}</Project>
72-
<Name>NeoCmd</Name>
73-
</ProjectReference>
74-
<ProjectReference Include="..\NeoLua.Dbg\NeoLua.Dbg.csproj">
75-
<Project>{64e0e32c-0bc4-413e-832e-1574506e4088}</Project>
76-
<Name>NeoLua.Dbg</Name>
77-
</ProjectReference>
78-
<ProjectReference Include="..\NeoLua.MSBuild\NeoLua.MSBuild.csproj">
79-
<Project>{b7a49c98-073d-498c-8fd8-69e0468df6d5}</Project>
80-
<Name>NeoLua.MSBuild</Name>
81-
</ProjectReference>
82-
</ItemGroup>
83-
<ItemGroup>
84-
</ItemGroup>
85-
<!-- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
86-
To modify your build process, add your task inside one of the targets below and uncomment it.
87-
Other similar extension points exist, see Microsoft.Common.targets. -->
88-
<Target Name="Build" DependsOnTargets="BuildCore" />
89-
<Target Name="Clean" DependsOnTargets="CleanCore" />
90-
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
918
</Project>

NeoLua.NuGet/NeoLua.nuspec

-38
This file was deleted.

NeoLua.NuGet/NeoLuaDebug.nuspec

-35
This file was deleted.

NeoLua.NuGet/NeoLuaMSBuild.nuspec

-21
This file was deleted.

NeoLua.NuGet/common.nupkg.targets

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Project>
3+
<Import Project="common.targets"/>
4+
5+
<PropertyGroup>
6+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
7+
</PropertyGroup>
8+
</Project>

NeoLua.NuGet/common.targets

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Project>
3+
<PropertyGroup>
4+
<Product>Neo.Lua</Product>
5+
<Company>TecWare Gesellschaft für Softwareentwicklung mbH</Company>
6+
<Copyright>Copyright © 2013-$([System.DateTime]::Now.Year.ToString())</Copyright>
7+
<Authors>Neolithos</Authors>
8+
9+
<PackageProjectUrl>https://github.com/neolithos/neolua/</PackageProjectUrl>
10+
<PackageLicenseUrl>https://github.com/neolithos/neolua/blob/master/LICENSE.md</PackageLicenseUrl>
11+
<RepositoryUrl>https://github.com/neolithos/neolua.git</RepositoryUrl>
12+
<RepositoryType>git</RepositoryType>
13+
14+
<AssemblyVersion>5.3.0.0</AssemblyVersion>
15+
<FileVersion>1.2.25.0</FileVersion>
16+
17+
<VersionAdd>beta</VersionAdd>
18+
<SimpleVersionPattern>^(\d+)\.(\d+)\.(\d+)</SimpleVersionPattern>
19+
<SimpleVersion>$([System.Text.RegularExpressions.Regex]::Match($(FileVersion), $(SimpleVersionPattern)))</SimpleVersion>
20+
21+
<PackageVersion Condition="'$(VersionAdd)' == ''">$(SimpleVersion)</PackageVersion>
22+
<PackageVersion Condition="'$(VersionAdd)' != ''">$(SimpleVersion)-$(VersionAdd)</PackageVersion>
23+
</PropertyGroup>
24+
</Project>

NeoLua.NuGet/package.targets

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project Skd="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<MSBuildCommunityTasksPath>$(MSBuildProjectDirectory)\..\packages\MSBuildTasks.1.4.0.88\tools</MSBuildCommunityTasksPath>
55
<TargetDir>$(MSBuildProjectDirectory)\bin</TargetDir>
@@ -9,7 +9,7 @@
99
<Import Project="package.apikey.targets" />
1010

1111
<ItemGroup>
12-
<ZipFile Include="$(MSBuildProjectDirectory)\..\NeoLuaD\bin\Release\Neo.Lua.*" />
12+
<!--<ZipFile Include="$(MSBuildProjectDirectory)\..\NeoLuaD\bin\Release\Neo.Lua.*" />
1313
<ZipFile Include="$(MSBuildProjectDirectory)\..\NeoLuaD\bin\Release\de\*" />
1414
1515
<ZipFileDbg Include="$(MSBuildProjectDirectory)\..\NeoLua.Dbg\bin\Release\Microsoft.Dynamic.dll" />
@@ -30,7 +30,7 @@
3030
<ZipFileCmd Include="$(MSBuildProjectDirectory)\..\NeoCmd\bin\Release\Microsoft.Scripting.dll" />
3131
<ZipFileCmd Include="$(MSBuildProjectDirectory)\..\NeoCmd\bin\Release\Microsoft.Scripting.Metadata.dll" />
3232
<ZipFileCmd Include="$(MSBuildProjectDirectory)\..\NeoCmd\bin\Release\de\*" />
33-
<ZipFileCmd Include="$(MSBuildProjectDirectory)\..\NeoCmd\Samples\*.lua" />
33+
<ZipFileCmd Include="$(MSBuildProjectDirectory)\..\NeoCmd\Samples\*.lua" />-->
3434
</ItemGroup>
3535

3636
<Target Name="PrepareVersion">
@@ -61,17 +61,17 @@
6161
<!-- Create Directory -->
6262
<MakeDir Directories="$(TargetDir)\$(Version)" />
6363

64-
<!-- Zip -->
64+
<!-- Zip
6565
<Zip Files="@(ZipFile)" WorkingDirectory="$(MSBuildProjectDirectory)\..\NeoLuaD\bin\Release" ZipFileName="$(TargetDir)\$(Version)\NeoLua-$(Version).zip" />
6666
<Zip Files="@(ZipFileMSB)" WorkingDirectory="$(MSBuildProjectDirectory)\..\NeoLua.MSBuild\bin\Release" ZipFileName="$(TargetDir)\$(Version)\NeoLuaMSBuild-$(Version).zip" />
6767
<Zip Files="@(ZipFileDbg)" WorkingDirectory="$(MSBuildProjectDirectory)\..\NeoLua.Dbg\bin\Release" ZipFileName="$(TargetDir)\$(Version)\NeoLuaDbg-$(Version).zip" />
68-
<Zip Files="@(ZipFileCmd)" WorkingDirectory="$(MSBuildProjectDirectory)\..\NeoCmd\bin\Release" ZipFileName="$(TargetDir)\$(Version)\NeoLuaCmd-$(Version).zip" />
68+
<Zip Files="@(ZipFileCmd)" WorkingDirectory="$(MSBuildProjectDirectory)\..\NeoCmd\bin\Release" ZipFileName="$(TargetDir)\$(Version)\NeoLuaCmd-$(Version).zip" /> -->
6969

70-
<!-- Create NuGet Package -->
70+
<!-- Create NuGet Package
7171
<Exec Command="c:\Tools\NuGet.exe pack NeoLua.nuspec -OutputDirectory $(TargetDir)\$(Version) -Version $(Version)" />
7272
<Exec Command="c:\Tools\NuGet.exe pack NeoLuaDebug.nuspec -OutputDirectory $(TargetDir)\$(Version) -Version $(Version)" />
7373
<Exec Command="c:\Tools\NuGet.exe push $(TargetDir)\$(Version)\NeoLua.$(Version).nupkg -source https://api.nuget.org/v3/index.json -ApiKey $(NugetApiKey)" />
74-
<Exec Command="c:\Tools\NuGet.exe push $(TargetDir)\$(Version)\NeoLuaDebug.$(Version).nupkg -source https://api.nuget.org/v3/index.json -ApiKey $(NugetApiKey)" />
74+
<Exec Command="c:\Tools\NuGet.exe push $(TargetDir)\$(Version)\NeoLuaDebug.$(Version).nupkg -source https://api.nuget.org/v3/index.json -ApiKey $(NugetApiKey)" /> -->
7575
</Target>
7676
</Project>
7777
<!--<Target Name="ZipLua" Condition=" '$(Configuration)' == 'Release' ">

0 commit comments

Comments
 (0)