diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-20 11:08:18 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-23 11:58:30 +0100 |
commit | 694611627265e4ecb8b0e7623f7d9f82812695e3 (patch) | |
tree | 95d9277f7dc414af91d940c53c2f69ab3737cd1b /tests/niminaction/Chapter3/ChatApp | |
parent | 161e14829a24ba91c941b5d93cfe1c62867482b0 (diff) | |
download | Nim-694611627265e4ecb8b0e7623f7d9f82812695e3.tar.gz |
fix for nimInAction
Diffstat (limited to 'tests/niminaction/Chapter3/ChatApp')
-rw-r--r-- | tests/niminaction/Chapter3/ChatApp/src/client.nim | 4 | ||||
-rw-r--r-- | tests/niminaction/Chapter3/ChatApp/src/server.nim | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/niminaction/Chapter3/ChatApp/src/client.nim b/tests/niminaction/Chapter3/ChatApp/src/client.nim index 4d139655c..d479ebf43 100644 --- a/tests/niminaction/Chapter3/ChatApp/src/client.nim +++ b/tests/niminaction/Chapter3/ChatApp/src/client.nim @@ -1,3 +1,7 @@ +discard """ +action: compile +""" + import os, threadpool, asyncdispatch, asyncnet import protocol diff --git a/tests/niminaction/Chapter3/ChatApp/src/server.nim b/tests/niminaction/Chapter3/ChatApp/src/server.nim index 8c572aeb0..31da74d16 100644 --- a/tests/niminaction/Chapter3/ChatApp/src/server.nim +++ b/tests/niminaction/Chapter3/ChatApp/src/server.nim @@ -1,3 +1,7 @@ +discard """ +action: compile +""" + import asyncdispatch, asyncnet type @@ -81,4 +85,4 @@ when isMainModule: echo("Server initialised!") # Execute the ``loop`` procedure. The ``waitFor`` procedure will run the # asyncdispatch event loop until the ``loop`` procedure finishes executing. - waitFor loop(server) \ No newline at end of file + waitFor loop(server) |