Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
07024da9
Commit
07024da9
authored
Jan 17, 2020
by
Vinicius Jarina
Browse files
Update Year and NuGets
parent
c7353487
Changes
93
Hide whitespace changes
Inline
Side-by-side
LICENSE
View file @
07024da9
Copyright (c) 20
19
Vinicius Jarina (viniciusjarina@gmail.com)
Copyright (c) 20
20
Vinicius Jarina (viniciusjarina@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
NLua.nuspec
View file @
07024da9
...
...
@@ -12,23 +12,23 @@
<description>
NLua Package.
</description>
<summary>
NLua allow use Lua from C#, using Windows, Linux, Mac, iOS , Android.
</summary>
<releaseNotes>
Release: 2bffe65
</releaseNotes>
<copyright>
Copyright © NLua 20
19
</copyright>
<copyright>
Copyright © NLua 20
20
</copyright>
<tags>
lua nlua
</tags>
<dependencies>
<dependency
id=
"KeraLua"
version=
"1.0.2
2
"
/>
<dependency
id=
"KeraLua"
version=
"1.0.2
4
"
/>
</dependencies>
</metadata>
<files>
<file
src=
"lib\Release\MonoAndroid\NLua.dll"
target=
"lib\MonoAndroid"
/>
<file
src=
"lib\Release\net45\NLua.dll"
target=
"lib\net45"
/>
<file
src=
"lib\Release\netcore\netcoreapp
2
.0\NLua.dll"
target=
"lib\netcoreapp
2
.0"
/>
<file
src=
"lib\Release\netcore\netcoreapp
3
.0\NLua.dll"
target=
"lib\netcoreapp
3
.0"
/>
<file
src=
"lib\Release\netstandard2.0\NLua.dll"
target=
"lib\netstandard2.0"
/>
<file
src=
"lib\Release\xamarinios\NLua.dll"
target=
"lib\xamarinios"
/>
<file
src=
"lib\Release\xamarinmac\NLua.dll"
target=
"lib\xamarinmac"
/>
<file
src=
"lib\Release\xamarintvos\NLua.dll"
target=
"lib\xamarintvos"
/>
<file
src=
"lib\Release\xamarinwatchos\NLua.dll"
target=
"lib\xamarinwatchos"
/>
<!-- <file src="lib\Release\netstandard2.0\NLua.xml" target="lib\netstandard2.0" />
<file src="lib\Release\netcore\netcoreapp
2
.0\NLua.xml" target="lib\netcoreapp
2
.0" />
<file src="lib\Release\netcore\netcoreapp
3
.0\NLua.xml" target="lib\netcoreapp
3
.0" />
<file src="lib\Release\MonoAndroid\NLua.xml" target="lib\MonoAndroid" />
<file src="lib\Release\net45\NLua.xml" target="lib\xamarinmac" />
<file src="lib\Release\net45\NLua.xml" target="lib\xamarintvos" />
...
...
README.md
View file @
07024da9
...
...
@@ -220,7 +220,7 @@ You can re-write the `import` function before load the user script and if the us
[
Lua-Sandbox user-list
](
http://lua-users.org/wiki/SandBoxes
)
Copyright (c) 20
19
Vinicius Jarina (viniciusjarina@gmail.com)
Copyright (c) 20
20
Vinicius Jarina (viniciusjarina@gmail.com)
NLua 1.4.x
----------
...
...
build/Android/NLua.Android.csproj
View file @
07024da9
...
...
@@ -44,7 +44,7 @@
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"Mono.Android"
/>
<Reference
Include=
"KeraLua"
>
<HintPath>
..\..\packages\KeraLua.1.0.2
2
\lib\MonoAndroid\KeraLua.dll
</HintPath>
<HintPath>
..\..\packages\KeraLua.1.0.2
4
\lib\MonoAndroid\KeraLua.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
...
...
build/Android/packages.config
View file @
07024da9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"KeraLua"
version
=
"1.0.2
2
"
targetFramework
=
"monoandroid81"
/>
<
package
id
=
"KeraLua"
version
=
"1.0.2
4
"
targetFramework
=
"monoandroid81"
/>
</
packages
>
\ No newline at end of file
build/TVOS/NLua.TVOS.csproj
View file @
07024da9
...
...
@@ -51,7 +51,7 @@
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"Xamarin.TVOS"
/>
<Reference
Include=
"KeraLua"
>
<HintPath>
..\..\packages\KeraLua.1.0.2
2
\lib\xamarintvos\KeraLua.dll
</HintPath>
<HintPath>
..\..\packages\KeraLua.1.0.2
4
\lib\xamarintvos\KeraLua.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
...
...
build/TVOS/packages.config
View file @
07024da9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"KeraLua"
version
=
"1.0.2
2
"
targetFramework
=
"xamarintvos10"
/>
<
package
id
=
"KeraLua"
version
=
"1.0.2
4
"
targetFramework
=
"xamarintvos10"
/>
</
packages
>
\ No newline at end of file
build/WatchOS/NLua.WatchOS.csproj
View file @
07024da9
...
...
@@ -49,7 +49,7 @@
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"Xamarin.WatchOS"
/>
<Reference
Include=
"KeraLua"
>
<HintPath>
..\..\packages\KeraLua.1.0.2
2
\lib\xamarinwatchos\KeraLua.dll
</HintPath>
<HintPath>
..\..\packages\KeraLua.1.0.2
4
\lib\xamarinwatchos\KeraLua.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
...
...
build/WatchOS/packages.config
View file @
07024da9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"KeraLua"
version
=
"1.0.2
2
"
targetFramework
=
"xamarinwatchos10"
/>
<
package
id
=
"KeraLua"
version
=
"1.0.2
4
"
targetFramework
=
"xamarinwatchos10"
/>
</
packages
>
\ No newline at end of file
build/XamarinMac/NLua.XamarinMac.csproj
View file @
07024da9
...
...
@@ -60,7 +60,7 @@
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"Xamarin.Mac"
/>
<Reference
Include=
"KeraLua"
>
<HintPath>
..\..\packages\KeraLua.1.0.2
2
\lib\xamarinmac\KeraLua.dll
</HintPath>
<HintPath>
..\..\packages\KeraLua.1.0.2
4
\lib\xamarinmac\KeraLua.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
...
...
build/XamarinMac/packages.config
View file @
07024da9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"KeraLua"
version
=
"1.0.2
2
"
targetFramework
=
"xamarinmac20"
/>
<
package
id
=
"KeraLua"
version
=
"1.0.2
4
"
targetFramework
=
"xamarinmac20"
/>
</
packages
>
\ No newline at end of file
build/XamariniOS/NLua.XamariniOS.csproj
View file @
07024da9
...
...
@@ -55,7 +55,7 @@
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"Xamarin.iOS"
/>
<Reference
Include=
"KeraLua"
>
<HintPath>
..\..\packages\KeraLua.1.0.2
2
\lib\xamarinios\KeraLua.dll
</HintPath>
<HintPath>
..\..\packages\KeraLua.1.0.2
4
\lib\xamarinios\KeraLua.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
...
...
build/XamariniOS/packages.config
View file @
07024da9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"KeraLua"
version
=
"1.0.2
2
"
targetFramework
=
"xamarinios10"
/>
<
package
id
=
"KeraLua"
version
=
"1.0.2
4
"
targetFramework
=
"xamarinios10"
/>
</
packages
>
\ No newline at end of file
build/net45/NLua.csproj
View file @
07024da9
...
...
@@ -34,7 +34,7 @@
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"KeraLua"
>
<HintPath>
..\..\packages\KeraLua.1.0.2
2
\lib\net45\KeraLua.dll
</HintPath>
<HintPath>
..\..\packages\KeraLua.1.0.2
4
\lib\net45\KeraLua.dll
</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
...
...
@@ -43,5 +43,5 @@
<Import
Project=
"..\..\src\NLua.Shared.projitems"
Label=
"Shared"
Condition=
"Exists('..\..\src\NLua.Shared.projitems')"
/>
<Import
Project=
"$(MSBuildBinPath)\Microsoft.CSharp.targets"
/>
<Import
Project=
"..\targets\NLua.Sign.targets"
/>
<Import
Project=
"..\..\packages\KeraLua.1.0.2
2
\build\net45\KeraLua.targets"
Condition=
"Exists('..\..\packages\KeraLua.1.0.2
2
\build\net45\KeraLua.targets')"
/>
<Import
Project=
"..\..\packages\KeraLua.1.0.2
4
\build\net45\KeraLua.targets"
Condition=
"Exists('..\..\packages\KeraLua.1.0.2
4
\build\net45\KeraLua.targets')"
/>
</Project>
\ No newline at end of file
build/net45/packages.config
View file @
07024da9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"KeraLua"
version
=
"1.0.2
2
"
targetFramework
=
"net45"
/>
<
package
id
=
"KeraLua"
version
=
"1.0.2
4
"
targetFramework
=
"net45"
/>
</
packages
>
\ No newline at end of file
build/netcore/NLua.NetCore.csproj
View file @
07024da9
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp
2
.0</TargetFramework>
<TargetFramework>netcoreapp
3
.0</TargetFramework>
<RootNamespace>NLua</RootNamespace>
<AssemblyName>NLua</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
...
...
@@ -20,9 +20,9 @@
</PropertyGroup>
<Import Project="..\..\src\NLua.Shared.projitems" Label="Shared" Condition="Exists('..\..\src\NLua.Shared.projitems')" />
<ItemGroup>
<PackageReference Include="KeraLua" Version="1.0.2
2
" />
<PackageReference Include="System.Reflection.Emit" Version="4.
3
.0" />
<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="4.
3
.0" />
<PackageReference Include="KeraLua" Version="1.0.2
4
" />
<PackageReference Include="System.Reflection.Emit" Version="4.
7
.0" />
<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="4.
7
.0" />
</ItemGroup>
<Import Project="..\targets\NLua.Sign.targets" />
</Project>
build/netstandard2.0/NLua.netstandard2.0.csproj
View file @
07024da9
...
...
@@ -24,7 +24,7 @@
<Import Project="..\..\src\NLua.Shared.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="KeraLua" Version="1.0.2
2
" />
<PackageReference Include="KeraLua" Version="1.0.2
4
" />
<PackageReference Include="NUnit" Version="3.12.0" />
</ItemGroup>
...
...
devops/BuildFunctions.ps1
View file @
07024da9
...
...
@@ -272,6 +272,6 @@ function Update-Ensure-Git-Not-Detached ()
return
}
$currentTag
=
Get-Git-Current-Tag
&
git
checkout
-B
$currentTag
$result
=
[
string
](
&
git
checkout
-B
$currentTag
)
# We are using -B because maybe the branch alrady exist
}
devops/azure-devops-linux.yml
0 → 100644
View file @
07024da9
pool
:
name
:
Hosted Ubuntu
1604
demands
:
msbuild
steps
:
-
checkout
:
self
-
task
:
UseDotNet@2
displayName
:
'
Install
.NET
Core
3.0.102'
inputs
:
packageType
:
sdk
version
:
'
3.0.102'
installationPath
:
$(Agent.ToolsDirectory)/dotnet
-
task
:
NuGetToolInstaller@1
displayName
:
'
Use
NuGet
5.4.0'
inputs
:
versionSpec
:
5.4.0
-
task
:
NuGetCommand@2
displayName
:
'
NuGet
restore'
inputs
:
restoreSolution
:
NLua.Core.sln
-
task
:
MSBuild@1
displayName
:
'
Build
.NET
Core'
inputs
:
solution
:
NLua.Core.sln
configuration
:
Release
msbuildArguments
:
/restore
-
task
:
DotNetCoreCLI@2
displayName
:
'
dotnet
vstest'
inputs
:
command
:
custom
custom
:
vstest
arguments
:
'
.\tests\build\netcore\bin\Release\netcoreapp3.0\KeraLuaTest.Core.dll'
-
task
:
SendTelegramNotification@0
condition
:
in(variables['Agent.JobStatus'], 'SucceededWithIssues')
inputs
:
botToken
:
'
$(botToken)'
chats
:
'
$(chatId)'
taskStatus
:
false
message
:
|
⚠️ <b>Warning!</b> <a href="$(Build.Repository.Uri)">$(Build.DefinitionName)</a> (<code>$(Build.SourceBranchName)</code>)
<pre>$(Build.SourceVersion)</pre>
$(Build.SourceVersionMessage) by $(Build.QueuedBy)
-
task
:
SendTelegramNotification@0
condition
:
in(variables['Agent.JobStatus'], 'Failed')
inputs
:
botToken
:
'
$(botToken)'
chats
:
'
$(chatId)'
taskStatus
:
false
buildQueuedBy
:
false
message
:
|
❌ <b>Fail!</b> <a href="$(Build.Repository.Uri)">$(Build.DefinitionName)</a> (<code>$(Build.SourceBranchName)</code>)
<pre>$(Build.SourceVersion)</pre>
$(Build.SourceVersionMessage) by $(Build.QueuedBy)
-
task
:
SendTelegramNotification@0
condition
:
in(variables['Agent.JobStatus'], 'Succeeded')
inputs
:
botToken
:
'
$(botToken)'
chats
:
'
$(chatId)'
taskStatus
:
false
buildQueuedBy
:
false
message
:
|
✅ <b>Success!</b> <a href="$(Build.Repository.Uri)">$(Build.DefinitionName)</a> (<code>$(Build.SourceBranchName)</code>)
<pre>$(Build.SourceVersion)</pre>
$(Build.SourceVersionMessage) by $(Build.QueuedBy)
#
\ No newline at end of file
devops/azure-devops-win.yml
View file @
07024da9
pool
:
name
:
Hosted VS
201
7
vmImage
:
'
windows-
201
9'
demands
:
-
msbuild
-
visualstudio
-
vstest
steps
:
-
task
:
UseDotNet@2
displayName
:
'
Install
.NET
Core
3.0.102'
inputs
:
packageType
:
sdk
version
:
'
3.0.102'
installationPath
:
$(Agent.ToolsDirectory)/dotnet
-
task
:
NuGetToolInstaller@1
displayName
:
'
Use
NuGet
4.7.3
'
displayName
:
'
Use
NuGet
5.4.0
'
inputs
:
versionSpec
:
4.7.3
versionSpec
:
5.4.0
-
task
:
NuGetCommand@2
displayName
:
'
NuGet
restore'
...
...
@@ -30,9 +37,10 @@ steps:
-
task
:
PowerShell@2
displayName
:
'
PreBuild
Script'
inputs
:
targetType
:
filePath
filePath
:
./devops/PreBuild.ps1
filePath
:
'
./devops/PreBuild.ps1'
arguments
:
'
NLua
NLua.nuspec'
errorActionPreference
:
'
silentlyContinue'
pwsh
:
true
-
task
:
MSBuild@1
displayName
:
'
Build
solution
NLua.sln'
...
...
@@ -52,7 +60,7 @@ steps:
inputs
:
command
:
custom
custom
:
vstest
arguments
:
'
.\tests\build\netcore\bin\Release\netcoreapp
2
.0\NLuaTest.dll'
arguments
:
'
.\tests\build\netcore\bin\Release\netcoreapp
3
.0\NLuaTest.dll'
-
task
:
MSBuild@1
displayName
:
'
Build
Android'
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment