diff --git a/config.nims b/config.nims index 0a0c126..e69de29 100644 --- a/config.nims +++ b/config.nims @@ -1 +0,0 @@ -switch("path", "$projectDir/src") \ No newline at end of file diff --git a/swarmsim.nim b/swarmsim.nim index 560bc73..1331ef4 100644 --- a/swarmsim.nim +++ b/swarmsim.nim @@ -1,5 +1,8 @@ # This is just an example to get you started. A typical binary package # uses this file as the main entry point of the application. -import ./swarmsim/schedulable -import ./swarmsim/eventdrivenengine +import ./swarmsim/engine/schedulableevent +import ./swarmsim/engine/eventdrivenengine + +export schedulableevent +export eventdrivenengine diff --git a/swarmsim/engine/network.nim b/swarmsim/engine/network.nim index aec3ac8..4c0b481 100644 --- a/swarmsim/engine/network.nim +++ b/swarmsim/engine/network.nim @@ -9,7 +9,7 @@ export options export sets export peer export eventdrivenengine -export Network +export types type ScheduledMessage = ref object of SchedulableEvent diff --git a/tests/nim.cfg b/tests/nim.cfg deleted file mode 100644 index 0f840a1..0000000 --- a/tests/nim.cfg +++ /dev/null @@ -1 +0,0 @@ ---path:".."