Go to file
Cory Benfield c2f461e4b7 [OpenSSLHandler] Flush less frequently for outgoing application data. 2017-10-04 17:29:38 +01:00
Sources [OpenSSLHandler] Flush less frequently for outgoing application data. 2017-10-04 17:29:38 +01:00
Tests [OpenSSLHandler] Flush less frequently for outgoing application data. 2017-10-04 17:29:38 +01:00
.gitignore Fix Package.swift 2017-06-16 03:06:52 -07:00
.swift-version require Swift 4.0 2017-09-20 18:00:29 +01:00
CODE_OF_CONDUCT.md initial commit 2017-04-20 12:13:14 +01:00
CONTRIBUTING.md initial commit 2017-04-20 12:13:14 +01:00
CONTRIBUTORS.txt initial commit 2017-04-20 12:13:14 +01:00
Dockerfile Install python lldb bindings and script to allow show correct symbols when inspect backtrace on linux 2017-08-09 13:35:45 +02:00
LICENSE.txt initial commit 2017-04-20 12:13:14 +01:00
NOTICE.txt initial commit 2017-04-20 12:13:14 +01:00
Package.swift initial commit 2017-04-20 12:13:14 +01:00
README.md linux support 2017-06-21 10:58:28 -07:00
generate_linux_tests.rb test generation should not include timestamp 2017-06-22 11:36:31 -07:00

README.md

@linux

creating a docker image for linux

# create the docker image for linux (one time or when dockerfile changes)
$ docker build . --build-arg version=$(cat .swift-version) -t=nio

using the linux docker image

# use the docker image, bind mount the current dir with code
$ docker run -it -v `pwd`:/code -w /code swift-nio bash
# do your thing
$ swift build
$ swift test

testing on linux

to know which tests to run on linux, swift requires a special mapping file called LinuxMain.swift and explicit mapping of each test case into a static list of tests. this is a real pita, but we are here to help!

# generate linux tests
$ ruby generate_linux_tests.rb