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 Unified Diffs Show Whitespace Changes Patch

Changes to Makefile.

8
9
10
11
12
13
14
15
16
17
18

all: install

install:
	luarocks make $(ROCKSPEC)

test: 
	$(LUAEXE) test.lua
	$(LUAEXE) tests-sqlite3.lua

.PHONY: all test install







|
|


8
9
10
11
12
13
14
15
16
17
18

all: install

install:
	luarocks make $(ROCKSPEC)

test: 
	$(LUAEXE) test/test.lua
	$(LUAEXE) test/tests-sqlite3.lua

.PHONY: all test install

Deleted installpath.lua.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Script to find the install path for a C module. Public domain.

if not arg or not arg[1] then
  io.write("Usage: lua installpath.lua modulename\n")
  os.exit(1)
end
for p in string.gfind(package.cpath, "[^;]+") do
  if string.sub(p, 1, 1) ~= "." then
    local p2 = string.gsub(arg[1], "%.", string.sub(package.config, 1, 1))
    io.write(string.gsub(p, "%?", p2), "\n")
    return
  end
end
error("no suitable installation path found")
<
<
<
<
<
<
<
<
<
<
<
<
<
<




























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

whitespace changes only

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

whitespace changes only