Mercurial Hosting > luan
view web/src/luan/modules/web/test.luan @ 466:55a86fc4701b
move Logging initialization from web/Http to web/Server
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 08 May 2015 11:15:53 -0600 |
parents | 4b8281c5c5af |
children |
line wrap: on
line source
local Io = require "luan:Io" local Server = require "luan:web/Server" if #{...} ~= 2 then Io.stderr.write "usage: luan luan:web/serve dir-URI test-URI\n" return end local dir, test = ... Server.init(dir) require(test)