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
d97942c9
Commit
d97942c9
authored
Dec 23, 2013
by
David Kennedy
Browse files
Update GetLibLuaPostBuildCmd.ps1
parent
7b5fcd3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nuget.package/tools/net45/GetLibLuaPostBuildCmd.ps1
View file @
d97942c9
if
(
[
System.IntPtr
]::
Size
-
n
e
8
)
{
$arch
=
"x
8
6\*.*"
}
else
{
if
(
[
System.IntPtr
]::
Size
-e
q
8
)
{
$arch
=
"x6
4
\*.*"
}
else
if
(([
System.IntPtr
]::
Size
-eq
4
)
-and
(
Test-Path
Env:\PROCESSOR_ARCHITEW6432
))
{
$arch
=
"x64\*.*"
}
elseif
([
System.IntPtr
]::
Size
-eq
4
)
{
$arch
=
"x86\*.*"
}
$nativePath
=
$
(
Join-Path
$installPath
"lib\native"
)
...
...
@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
$LibLuaPostBuildCmd
=
"
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
\ No newline at end of file
xcopy /s /y
`"
$nativePath
`"
`"`$
(TargetDir)
`"
"
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