disable conditionality of warning disabling (#4908)
* disable conditionality of warning disabling * add copyright notice with current year * express version constraint in nimble file * also needs copyright year
This commit is contained in:
parent
40253a76dd
commit
6458133f5c
|
@ -1,3 +1,10 @@
|
||||||
|
# beacon_chain
|
||||||
|
# Copyright (c) 2018-2023 Status Research & Development GmbH
|
||||||
|
# Licensed and distributed under either of
|
||||||
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
||||||
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
||||||
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||||
|
|
||||||
mode = ScriptMode.Verbose
|
mode = ScriptMode.Verbose
|
||||||
|
|
||||||
version = "1.4.2"
|
version = "1.4.2"
|
||||||
|
@ -6,7 +13,7 @@ description = "The Nimbus beacon chain node is a highly efficient Ethereum 2.0
|
||||||
license = "MIT or Apache License 2.0"
|
license = "MIT or Apache License 2.0"
|
||||||
|
|
||||||
requires(
|
requires(
|
||||||
"nim >= 1.2.0",
|
"nim >= 1.6.12",
|
||||||
"https://github.com/status-im/NimYAML",
|
"https://github.com/status-im/NimYAML",
|
||||||
"bearssl",
|
"bearssl",
|
||||||
"blscurve",
|
"blscurve",
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# beacon_chain
|
||||||
|
# Copyright (c) 2020-2023 Status Research & Development GmbH
|
||||||
|
# Licensed and distributed under either of
|
||||||
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
||||||
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
||||||
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||||
|
|
||||||
import strutils
|
import strutils
|
||||||
|
|
||||||
--noNimblePath
|
--noNimblePath
|
||||||
|
@ -184,7 +191,6 @@ switch("warning", "LockLevel:off")
|
||||||
|
|
||||||
# Too many right now to read compiler output. Warnings are legitimate, but
|
# Too many right now to read compiler output. Warnings are legitimate, but
|
||||||
# should be fixed out-of-band of `unstable` branch.
|
# should be fixed out-of-band of `unstable` branch.
|
||||||
if (NimMajor, NimMinor, NimPatch) >= (1, 6, 11):
|
|
||||||
switch("warning", "BareExcept:off")
|
switch("warning", "BareExcept:off")
|
||||||
|
|
||||||
# Too many of these because of Defect compat in 1.2
|
# Too many of these because of Defect compat in 1.2
|
||||||
|
|
Loading…
Reference in New Issue