racker/virgo — pull request #4 by rphillips (2011-12-29 22:11:46+00:00)
Title: modify loader to include modules

* Modify virgo_create to load a default module (set to 'monitoring' for the monitoring.c instance)
* Add virgo_basename for portability
* Modify the loader to search for files (I have a feeling this will need more work later on)
* Change the build system to understand module directories

monitoring.zip looks like the following:

$ unzip -t monitoring.zip
Archive: monitoring.zip
testing: modules/monitoring/init.lua OK
testing: modules/monitoring/monitoring-agent.lua OK
testing: modules/monitoring/test.lua OK
testing: emitter.lua OK
testing: fiber.lua OK
testing: fs.lua OK
testing: http.lua OK
testing: luvit.lua OK
testing: mime.lua OK
testing: path.lua OK
testing: pipe.lua OK
testing: process.lua OK
testing: repl.lua OK
testing: request.lua OK
testing: response.lua OK
testing: stack.lua OK
testing: stream.lua OK
testing: tcp.lua OK
testing: timer.lua OK
testing: tty.lua OK
testing: udp.lua OK
testing: url.lua OK
testing: utils.lua OK
testing: modules/lua-async/bourbon.lua OK
testing: modules/lua-async/init.lua OK
testing: modules/lua-async/queue.lua OK
testing: modules/lua-async/test.lua OK
testing: virgo-init.lua OK
testing: virgo-utils.lua OK
No errors detected in compressed data of monitoring.zip.