SwiftCGI icon indicating copy to clipboard operation
SwiftCGI copied to clipboard

How do I build an executable of SwiftCGI

Open Evertt opened this issue 10 years ago • 1 comments

Forgive my ignorance, but I really don't know. The readme tells me to do so, but I'm not sure what that means. Do you mean this ?: "start a new xcode project, import all the swift files from this repository and let xcode build an executable" ?

Evertt avatar Dec 31 '15 10:12 Evertt

Things are in flux a bit right now because I'm working on porting it over to Linux, so I've switched over to the Swift Package Manager instead of Xcode. It should still work on OS X, but there are some I/O bugs on Linux I haven't had a chance to solve yet.

For now, you could download the source, create a new Xcode project, and then simply add all the source files to it; then modify the demo's main.swift file to replace it with whatever logic you want in the Server handler block.

allevato avatar Dec 31 '15 18:12 allevato