-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added .NET Core support through new Conari 1.4:
Up to SDK based type + vsSolutionBuildEvent 1.14 + hMSBuild 2.2 + GetNuTool 1.7 +updated build scripts.
- Loading branch information
Showing
18 changed files
with
929 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
# Our batch files requires CRLF for correct work. | ||
# https://github.com/3F/hMSBuild/issues/2 | ||
|
||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
*.tpl text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# ~ | ||
|
||
github: 3F | ||
custom: https://3F.github.com/Donation/ | ||
patreon: GitHub3F | ||
ko_fi: github3f | ||
custom: https://3F.github.com/Donation/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
LuNari https://github.com/3F/LuNari | ||
- - - - - - - - - - - - - - - - - - - - | ||
|
||
# Third-party software components | ||
|
||
|
||
## LuNari and its various packages may* include or reference: | ||
(*- specific target platforms or some complex archives) | ||
|
||
* Conari | ||
https://github.com/3F/Conari | ||
|
||
* hMSBuild | ||
https://github.com/3F/hMSBuild | ||
|
||
* GetNuTool | ||
https://github.com/3F/GetNuTool | ||
|
||
|
||
## Dev Dependencies includes the following tools for src: | ||
|
||
* vsSolutionBuildEvent | ||
https://github.com/3F/vsSolutionBuildEvent | ||
|
||
* MSTest Framework | ||
https://github.com/microsoft/testfx | ||
|
||
* hMSBuild | ||
https://github.com/3F/hMSBuild | ||
|
||
* GetNuTool | ||
https://github.com/3F/GetNuTool | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
[assembly: InternalsVisibleTo | ||
( | ||
"LuNariTest, PublicKey=002400000480000094000000060200000024000052534131000400000100010013224edc96bef3" + | ||
"a150fcff282af16abf503647200e69724148c64f6d6b7ae8b2251052892dd5a0a5d41c6f9f161a" + | ||
"f799e9e94db8bbfa07440c7ada5f0f31de3e7b3d9374bc48839d39592d7c33c8813114f9a467d4" + | ||
"77af6a3eb99fbc5a66084c667046ceac3b962add0a4e87a916fea3c6977ed0e51df496eb3caba8" + | ||
"dc32cd92" | ||
)] | ||
|
||
[assembly: Guid("7D9B802F-C175-47A8-AEB4-606EC6B44CC2")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,104 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{359A216F-1B6D-4A82-B75A-09509A23830A}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<Version>1.5.1</Version> | ||
<BuildInfoVSSBE></BuildInfoVSSBE> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net40;net472;netstandard2.0</TargetFrameworks> | ||
<RootNamespace>net.r_eg.LuNari</RootNamespace> | ||
<AssemblyName>LuNari</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageId>LuNari</PackageId> | ||
<Copyright>Copyright (c) 2016,2017,2019 Denis Kuzmin < [email protected] > GitHub/3F</Copyright> | ||
<Title>[ LuNari ] Lua for .NET: Lua 5.4, 5.3, 5.2, 5.1, ...</Title> | ||
<PackageIcon>LuNari.png</PackageIcon> | ||
<IconUrl>https://raw.githubusercontent.com/3F/LuNari/master/LuNari/Resources/LuNari.png</IconUrl> | ||
<Description> | ||
|
||
Lua for .NET on Conari engine | ||
Provides support* for all popular versions, like: 5.4, 5.3, 5.2, 5.1, ... | ||
|
||
* There are several methods to use LuNari: | ||
API-layer and binding at runtime (DLR, Lambda expressions) with any Lua functions; | ||
_ _ _ _ _ _ | ||
|
||
using(var l = new Lua<ILua53>("Lua.dll")) { /* ILua51, ILua52, ILua53, ... */ } | ||
_ _ _ _ _ _ | ||
Source code and all details here: https://github.com/3F/LuNari | ||
|
||
======================================= | ||
gnt /p:ngpackages="LuNari/$(Version)" | ||
================== https://github.com/3F/GetNuTool | ||
|
||
Build info: | ||
|
||
$(BuildInfoVSSBE) | ||
</Description> | ||
<PackageOwners>reg</PackageOwners> | ||
<PackageProjectUrl>https://github.com/3F/LuNari</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/3F/LuNari</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>Lua API dll Lua54 Lua53 Lua52 Lua51 LuNari LunaRoad KeraLua NLua LuaInterface Conari API dll dotnet</PackageTags> | ||
<PackageReleaseNotes>changelog: https://github.com/3F/LuNari/blob/master/changelog.txt </PackageReleaseNotes> | ||
<Authors>github.com/3F/LuNari</Authors> | ||
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile> | ||
<PackageLicenseFile>LICENSE</PackageLicenseFile> | ||
<NoWarn>1701;1702;CS1591;IDE1006</NoWarn> | ||
<LangVersion>latest</LangVersion> | ||
<PackageIconUrl>https://raw.githubusercontent.com/3F/LuNari/master/LuNari/Resources/LuNari.png</PackageIconUrl> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
|
||
<PropertyGroup> | ||
<IsNetCoreFamilyTarget>false</IsNetCoreFamilyTarget> | ||
<IsNetCoreFamilyTarget Condition="$(TargetFramework.StartsWith('nets')) Or $(TargetFramework.StartsWith('netc'))">true</IsNetCoreFamilyTarget> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<NoWarn>CS1591,IDE1006</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' Or '$(Configuration)' == 'PublicRelease' "> | ||
<DefineConstants /> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants> | ||
</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<DocumentationFile>bin\Release\LuNari.XML</DocumentationFile> | ||
<NoWarn>CS1591,IDE1006</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<SignAssembly>true</SignAssembly> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile> | ||
|
||
<PropertyGroup Condition="'$(IsNetCoreFamilyTarget)' == 'true'"> | ||
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="System.Core" /> | ||
<None Include="..\LICENSE" Pack="true" PackagePath="" /> | ||
<None Include="..\Readme.md" Pack="true" PackagePath="" /> | ||
<None Include="..\3rd-party.txt" Pack="true" PackagePath="" /> | ||
<None Include="..\changelog.txt" Pack="true" PackagePath="" /> | ||
<None Include="..\.version" Pack="true" PackagePath="" /> | ||
<!-- NuGet bug when naming with 'build' keyword: https://github.com/NuGet/Home/issues/8810 --> | ||
<None Include="obj\release-info.txt" Condition="Exists('obj\release-info.txt')" Pack="true" PackagePath="" /> | ||
<None Include="Resources\LuNari.png" Pack="true" PackagePath="" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="API\Binder.cs" /> | ||
<Compile Include="API\IAPI.cs" /> | ||
<Compile Include="API\Lua51\LuaH.cs" /> | ||
<Compile Include="API\Lua52\LuaH.cs" /> | ||
<Compile Include="API\Lua53\LuaH.cs" /> | ||
<Compile Include="API\LuaImplN.cs" /> | ||
<Compile Include="API\LuaFuncN.cs" /> | ||
<Compile Include="API\ILuaN.cs" /> | ||
<Compile Include="API\ILuaCommon.cs" /> | ||
<Compile Include="API\ILevel.cs" /> | ||
<Compile Include="API\Bridge.cs" /> | ||
<Compile Include="API\IBinder.cs" /> | ||
<Compile Include="API\Lua52\Impl52.cs" /> | ||
<Compile Include="API\Lua53\Impl53.cs" /> | ||
<Compile Include="API\LuaX.cs" /> | ||
<Compile Include="API\Lua51\Impl51.cs" /> | ||
<Compile Include="API\Lua53\Func53.cs" /> | ||
<Compile Include="API\Lua53\ILua53.cs" /> | ||
<Compile Include="API\Lua52\ILua52.cs" /> | ||
<Compile Include="API\Lua52\Func52.cs" /> | ||
<Compile Include="API\LuaVersion.cs" /> | ||
<Compile Include="LuaConfig.cs" /> | ||
<Compile Include="LuNariVersion.cs" /> | ||
<Compile Include="API\Lua51\Func51.cs" /> | ||
<Compile Include="API\Lua51\ILua51.cs" /> | ||
<Compile Include="LuaState.cs" /> | ||
<Compile Include="LuaCFunction.cs" /> | ||
<Compile Include="Exceptions\CommonException.cs" /> | ||
<Compile Include="ILua.cs" /> | ||
<Compile Include="Lua.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Types\LuaInteger.cs" /> | ||
<Compile Include="_\LuaState.cs" /> | ||
<Compile Include="Types\LuaNumber.cs" /> | ||
<None Include="..\tools\hMSBuild.bat" Pack="true" PackagePath="tools\" /> | ||
<None Include="..\tools\gnt.bat" Pack="true" PackagePath="tools\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="key.snk" /> | ||
<None Include="Resources\License.md" /> | ||
<None Include="Resources\LuNari.png" /> | ||
|
||
<ItemGroup Condition="'$(IsNetCoreFamilyTarget)' != 'true'"> | ||
<Reference Include="System.Core" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Conari\Conari\Conari.csproj"> | ||
<Project>{27152fd4-7b94-4af0-a7ed-be7e7a196d57}</Project> | ||
<Name>Conari</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.