Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
import benitlux_view
import benitlux_controller
-# Avoid executing when running tests
-if "NIT_TESTING".environ == "true" then exit 0
-
# Listening interface
fun iface: String do return "localhost:8080"
import opts
import privileges
-# Avoids a crash when running automatic tests
-if "NIT_TESTING".environ == "true" then exit 0
-
var iface = "localhost:8080"
var vh = new VirtualHost(iface)
# Address and port of the listening socket
fun tnitter_interface: String do return "localhost:8080"
-# Avoid executing when running tests
-if "NIT_TESTING".environ == "true" then exit 0
-
# Prepare options
var opts = new OptionContext
opts.parse(args)