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
ce7fea3a
Commit
ce7fea3a
authored
Dec 23, 2013
by
Vinicius Jarina
Browse files
Merge pull request #65 from davidkennedy85/master
Update GetLibLuaPostBuildCmd.ps1
parents
ebd7ce25
a81ad463
Changes
3
Hide whitespace changes
Inline
Side-by-side
nuget.package/tools/net35/GetLibLuaPostBuildCmd.ps1
View file @
ce7fea3a
if
(
[
System.IntPtr
]::
Size
-
n
e
8
)
{
if
(
[
System.IntPtr
]::
Size
-e
q
8
)
{
$arch
=
"x
8
6\*.*"
$arch
=
"x6
4
\*.*"
}
else
{
}
else
if
(([
System.IntPtr
]::
Size
-eq
4
)
-and
(
Test-Path
Env:\PROCESSOR_ARCHITEW6432
))
{
$arch
=
"x64\*.*"
$arch
=
"x64\*.*"
}
elseif
([
System.IntPtr
]::
Size
-eq
4
)
{
$arch
=
"x86\*.*"
}
}
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
$LibLuaPostBuildCmd
=
"
$LibLuaPostBuildCmd
=
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
\ No newline at end of file
nuget.package/tools/net40/GetLibLuaPostBuildCmd.ps1
View file @
ce7fea3a
if
(
[
System.IntPtr
]::
Size
-
n
e
8
)
{
if
(
[
System.IntPtr
]::
Size
-e
q
8
)
{
$arch
=
"x
8
6\*.*"
$arch
=
"x6
4
\*.*"
}
else
{
}
else
if
(([
System.IntPtr
]::
Size
-eq
4
)
-and
(
Test-Path
Env:\PROCESSOR_ARCHITEW6432
))
{
$arch
=
"x64\*.*"
$arch
=
"x64\*.*"
}
elseif
([
System.IntPtr
]::
Size
-eq
4
)
{
$arch
=
"x86\*.*"
}
}
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
$LibLuaPostBuildCmd
=
"
$LibLuaPostBuildCmd
=
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
\ No newline at end of file
nuget.package/tools/net45/GetLibLuaPostBuildCmd.ps1
View file @
ce7fea3a
if
(
[
System.IntPtr
]::
Size
-
n
e
8
)
{
if
(
[
System.IntPtr
]::
Size
-e
q
8
)
{
$arch
=
"x
8
6\*.*"
$arch
=
"x6
4
\*.*"
}
else
{
}
else
if
(([
System.IntPtr
]::
Size
-eq
4
)
-and
(
Test-Path
Env:\PROCESSOR_ARCHITEW6432
))
{
$arch
=
"x64\*.*"
$arch
=
"x64\*.*"
}
elseif
([
System.IntPtr
]::
Size
-eq
4
)
{
$arch
=
"x86\*.*"
}
}
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
$LibLuaPostBuildCmd
=
"
$LibLuaPostBuildCmd
=
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
\ No newline at end of file
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