Commit bb21fa63 authored by François Perrad's avatar François Perrad

move/rename lsqlite3.lua

parent 438f7b52
......@@ -19,7 +19,7 @@ install.luasql:
$(INSTALL) -m 644 -D src/Coat/Persistent.lua $(LIBDIR)/Coat/Persistent.lua
install.lsqlite3:
$(INSTALL) -m 644 -D src/Coat/Persistent/lsqlite3.lua $(LIBDIR)/Coat/Persistent.lua
$(INSTALL) -m 644 -D src.lsqlite3/Coat/Persistent.lua $(LIBDIR)/Coat/Persistent.lua
uninstall:
rm -f $(LIBDIR)/Coat/Persistent.lua
......@@ -101,9 +101,13 @@ endif
check: test
test:
test: test.luasql test.lsqlite3
test.luasql:
cd src && prove --exec=$(LUA) ../test/*.t
cd src && prove --exec="$(LUA) -l Coat.Persistent.lsqlite3" ../test/*.t
test.lsqlite3:
cd src.lsqlite3 && prove --exec=$(LUA) ../test/*.t
coverage:
rm -f src/luacov.stats.out src/luacov.report.out
......
......@@ -28,7 +28,7 @@ build = {
type = 'builtin',
modules = {
['Coat.Persistent'] = 'src/Coat/Persistent.lua',
['Coat.Persistent.lsqlite3'] = 'src/Coat/Persistent/lsqlite3.lua',
['Coat.Persistent.lsqlite3'] = 'src.lsqlite3/Coat/Persistent.lua',
},
copy_directories = { 'doc', 'test' },
}
......@@ -314,8 +314,6 @@ function _G.persistent (modname, options)
setfenv(2, M)
end
_G.package.loaded['Coat.Persistent'] = _M
_M._VERSION = "0.2.0"
_M._DESCRIPTION = "lua-CoatPersistent : an ORM for lua-Coat"
_M._COPYRIGHT = "Copyright (c) 2010-2013 Francois Perrad"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment