carlos / todomvc-bakeoff Public

Clone
git clone https://amadan.net/carlos/todomvc-bakeoff

Plain git — no account needed to clone.

Download

Download this file

1import FoundationEssentials
2import TodoApp
3
4#if canImport(Musl)
5import Musl
6#elseif canImport(Glibc)
7import Glibc
8#endif
9
10let options: Options
11do {
12 options = try Options(arguments: Array(CommandLine.arguments.dropFirst()), environment: ProcessInfo.processInfo.environment)
13} catch {
14 let message = Array("\(error)\n".utf8)
15 _ = write(2, message, message.count)
16 exit(2)
17}
18try await Server.run(options)
19