1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-21 20:27:47 +00:00

Added NLua.

This commit is contained in:
Filip Maj 2016-01-01 14:11:48 -05:00
parent 5cb11d7957
commit d5fb17bf7f
11 changed files with 76 additions and 0 deletions

View file

@ -4,4 +4,5 @@
<package id="Dapper" version="1.42" targetFramework="net45" /> <package id="Dapper" version="1.42" targetFramework="net45" />
<package id="MySql.Data" version="6.9.7" targetFramework="net45" /> <package id="MySql.Data" version="6.9.7" targetFramework="net45" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" /> <package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
<package id="NLua" version="1.3.2.1" targetFramework="net45" />
</packages> </packages>

BIN
packages/NLua.1.3.2.1/NLua.1.3.2.1.nupkg vendored Normal file

Binary file not shown.

View file

@ -0,0 +1,4 @@

$nativePath = $(Join-Path $installPath "lib\native\*.*")
$LibLuaPostBuildCmd = "
xcopy /s /y `"$nativePath`" `"`$(TargetDir)`""

View file

@ -0,0 +1,12 @@
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Append our post build command if it's not already there
if (!$currentPostBuildCmd.Contains($LibLuaPostBuildCmd)) {
$project.Properties.Item("PostBuildEvent").Value += $LibLuaPostBuildCmd
}

View file

@ -0,0 +1,9 @@
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Remove our post build command from it (if it's there)
$project.Properties.Item("PostBuildEvent").Value = $currentPostBuildCmd.Replace($LibLuaPostBuildCmd, "")

View file

@ -0,0 +1,4 @@

$nativePath = $(Join-Path $installPath "lib\native\*.*")
$LibLuaPostBuildCmd = "
xcopy /s /y `"$nativePath`" `"`$(TargetDir)`""

View file

@ -0,0 +1,12 @@
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Append our post build command if it's not already there
if (!$currentPostBuildCmd.Contains($LibLuaPostBuildCmd)) {
$project.Properties.Item("PostBuildEvent").Value += $LibLuaPostBuildCmd
}

View file

@ -0,0 +1,9 @@
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Remove our post build command from it (if it's there)
$project.Properties.Item("PostBuildEvent").Value = $currentPostBuildCmd.Replace($LibLuaPostBuildCmd, "")

View file

@ -0,0 +1,4 @@

$nativePath = $(Join-Path $installPath "lib\native\*.*")
$LibLuaPostBuildCmd = "
xcopy /s /y `"$nativePath`" `"`$(TargetDir)`""

View file

@ -0,0 +1,12 @@
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Append our post build command if it's not already there
if (!$currentPostBuildCmd.Contains($LibLuaPostBuildCmd)) {
$project.Properties.Item("PostBuildEvent").Value += $LibLuaPostBuildCmd
}

View file

@ -0,0 +1,9 @@
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Remove our post build command from it (if it's there)
$project.Properties.Item("PostBuildEvent").Value = $currentPostBuildCmd.Replace($LibLuaPostBuildCmd, "")