Dont customize package.cpath in tests (#122)
This commit is contained in:
parent
73be756123
commit
bcb5b92996
@ -73,7 +73,7 @@ Requires C++14 compiler compliance. Tested with GCC 4.9+, clang 3.8 and Visual S
|
|||||||
1. `git clone --recursive git@github.com:effil/effil.git effil`
|
1. `git clone --recursive git@github.com:effil/effil.git effil`
|
||||||
2. `cd effil && mkdir build && cd build`
|
2. `cd effil && mkdir build && cd build`
|
||||||
3. `cmake .. && make install`
|
3. `cmake .. && make install`
|
||||||
4. Copy effil.lua and libeffil.so/libeffil.dylib to your project.
|
4. Copy effil.so to your project.
|
||||||
|
|
||||||
### From lua rocks
|
### From lua rocks
|
||||||
`luarocks install effil`
|
`luarocks install effil`
|
||||||
|
|||||||
@ -7,7 +7,6 @@ local src_path = scripts_path .. "/../.."
|
|||||||
package.path = ";" .. scripts_path .. "/?.lua;"
|
package.path = ";" .. scripts_path .. "/?.lua;"
|
||||||
.. src_path .. "/src/lua/?.lua;"
|
.. src_path .. "/src/lua/?.lua;"
|
||||||
.. src_path .. "/libs/u-test/?.lua"
|
.. src_path .. "/libs/u-test/?.lua"
|
||||||
package.cpath = "./?.so;" .. package.cpath
|
|
||||||
|
|
||||||
require "type"
|
require "type"
|
||||||
require "gc"
|
require "gc"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user