You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
384 B
18 lines
384 B
#define FSM_DEBUG 1
|
|
#include <fmt/core.h>
|
|
#include "dbc.hpp"
|
|
#include "server.hpp"
|
|
#include "config.hpp"
|
|
|
|
using namespace fmt;
|
|
|
|
int main(int argc, char *argv[]) {
|
|
dbc::check(argc == 2, "USAGE: distributary config.json");
|
|
println("Using config {}", argv[1]);
|
|
Config config(argv[1]);
|
|
Server server(config);
|
|
|
|
while(!server.stopped()) {
|
|
server.event(ServerEvent::GO);
|
|
}
|
|
}
|
|
|