Skip to content

Commit c3d1f4c

Browse files
committed
Nimble: src/ -> nmqtt/ + move nmqtt.nim to top-level
1 parent 31bbcee commit c3d1f4c

11 files changed

Lines changed: 7 additions & 6 deletions

File tree

File renamed without changes.

src/nmqtt.nim renamed to nmqtt.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ when defined(broker):
1515
sequtils,
1616
times,
1717
random,
18-
utils/passwords,
19-
utils/version
18+
nmqtt/utils/passwords,
19+
nmqtt/utils/version
2020
from parsecfg import loadConfig, getSectionValue
2121
from os import fileExists
2222

@@ -1191,4 +1191,4 @@ proc msgQueue*(ctx: MqttCtx): int =
11911191

11921192

11931193
when defined(broker):
1194-
include "utils/broker.nim"
1194+
include "nmqtt/utils/broker.nim"
File renamed without changes.

nmqtt/nmqtt.nim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include "../nmqtt.nim"
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ from os import getCurrentProcessId
44

55
import utils/version
66

7-
include "nmqtt.nim"
7+
include "../nmqtt.nim"
88

99

1010
proc handler() {.noconv.} =
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from strutils import split
55

66
import utils/version
77

8-
include "nmqtt.nim"
8+
include "../nmqtt.nim"
99

1010

1111
let ctx = newMqttCtx("nmqttsub-" & $getCurrentProcessId())

0 commit comments

Comments
 (0)