LuaSQLite3

Check-in [6ec6a38f08]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Move tests to their own directory. Remove installpath.lua now unused.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6ec6a38f086a803d01cba401839a1f8957f874aa
User & Date: e 2013-03-30 16:58:08
Context
2013-03-30
23:33
Add update_hook example; fix examples for Lua 5.2. check-in: 2ad6aad5b6 user: e tags: trunk
16:58
Move tests to their own directory. Remove installpath.lua now unused. check-in: 6ec6a38f08 user: e tags: trunk
16:51
Updated Makefile for luarocks build. Removed obsolete files. Updated HISTORY. check-in: 4278f04525 user: e tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.

     8      8   
     9      9   all: install
    10     10   
    11     11   install:
    12     12   	luarocks make $(ROCKSPEC)
    13     13   
    14     14   test: 
    15         -	$(LUAEXE) test.lua
    16         -	$(LUAEXE) tests-sqlite3.lua
           15  +	$(LUAEXE) test/test.lua
           16  +	$(LUAEXE) test/tests-sqlite3.lua
    17     17   
    18     18   .PHONY: all test install

Deleted installpath.lua.

     1         --- Script to find the install path for a C module. Public domain.
     2         -
     3         -if not arg or not arg[1] then
     4         -  io.write("Usage: lua installpath.lua modulename\n")
     5         -  os.exit(1)
     6         -end
     7         -for p in string.gfind(package.cpath, "[^;]+") do
     8         -  if string.sub(p, 1, 1) ~= "." then
     9         -    local p2 = string.gsub(arg[1], "%.", string.sub(package.config, 1, 1))
    10         -    io.write(string.gsub(p, "%?", p2), "\n")
    11         -    return
    12         -  end
    13         -end
    14         -error("no suitable installation path found")

Name change from test.lua to test/test.lua.


Name change from tests-sqlite3.lua to test/tests-sqlite3.lua.