test UnusedImport warningAsError
This commit is contained in:
parent
5fe615b841
commit
08ec84b717
1
Makefile
1
Makefile
|
@ -548,6 +548,7 @@ $(NIM_STATUS_CLIENT): $(NIM_SOURCES) | statusq dotherside check-qt-dir $(STATUSG
|
||||||
--passL:"-lm" \
|
--passL:"-lm" \
|
||||||
--warning:UnreachableElse:off \
|
--warning:UnreachableElse:off \
|
||||||
--warningAsError:UseBase:on \
|
--warningAsError:UseBase:on \
|
||||||
|
--warningAsError:UnusedImport:on \
|
||||||
$(NIM_EXTRA_PARAMS) src/nim_status_client.nim
|
$(NIM_EXTRA_PARAMS) src/nim_status_client.nim
|
||||||
ifeq ($(detected_OS),Darwin)
|
ifeq ($(detected_OS),Darwin)
|
||||||
install_name_tool -change \
|
install_name_tool -change \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import chronicles, tables, strutils, sequtils, stint
|
import chronicles, tables, strutils, sequtils, stint
|
||||||
import uuids
|
import uuids, sets, sugar
|
||||||
import io_interface
|
import io_interface
|
||||||
|
|
||||||
import app/global/app_sections_config as conf
|
import app/global/app_sections_config as conf
|
||||||
|
|
Loading…
Reference in New Issue