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
e91405fa
Commit
e91405fa
authored
Mar 02, 2013
by
Vinicius Jarina
Browse files
Fixed tests on Linux/OSX.
parent
2271a771
Changes
2
Hide whitespace changes
Inline
Side-by-side
run_all.linux.sh
View file @
e91405fa
#!/bin/sh
# If you have mono x86 installed on a amd64 linux.
#export CFLAGS=-m32
#export CXXFLAGS=-m32
#export LDFLAGS=-m32
#export LD_LIBRARY_PATH=$PWD/external/lua/linux/lib64
cd
Core/KeraLua/
make
-f
Makefile.Linux
xbuild KeraLua.sln /p:Configuration
=
Release
cd
../../
xbuild LuaInterface.sln /p:Configuration
=
Release
export
LD_LIBRARY_PATH
=
$PWD
/Core/KeraLua/external/lua/linux/lib
cd
tests/
nunit-console LuaInterfaceTest.dll
run_all.osx.sh
0 → 100755
View file @
e91405fa
#!/bin/sh
cd
Core/KeraLua
make
-f
Makefile.OSX
xbuild KeraLua.sln /p:Configuration
=
Release
cd
../../
cp
Core/KeraLua/external/lua/osx/lib/liblua51.dylib tests/liblua51.dylib
cd
tests/
nunit-console LuaInterfaceTest.dll
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