mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-20 18:28:12 +00:00
nimble: better isdir check (#6825)
* nimble: better isdir check The current one seems to not find the file sometimes - also update nimble file to something more useful. * nanny
This commit is contained in:
parent
d820706478
commit
3e2d8d2a16
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -253,7 +253,7 @@ jobs:
|
||||
- name: Check copyright year
|
||||
if: ${{ !cancelled() }} && github.event_name == 'pull_request'
|
||||
run: |
|
||||
excluded_files="config.yaml"
|
||||
excluded_files="config.yaml|config.nims|beacon_chain.nimble"
|
||||
excluded_extensions="ans|bin|cfg|yml|json|json\\.template|md|png|service|ssz|txt|lock|nix|gitignore|envrc"
|
||||
|
||||
current_year=$(date +"%Y")
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
mode = ScriptMode.Verbose
|
||||
|
||||
version = "1.4.2"
|
||||
version = "24.12.0"
|
||||
author = "Status Research & Development GmbH"
|
||||
description = "The Nimbus beacon chain node is a highly efficient Ethereum 2.0 client"
|
||||
license = "MIT or Apache License 2.0"
|
||||
@ -45,13 +45,15 @@ requires(
|
||||
"unittest2",
|
||||
"web3",
|
||||
"zlib",
|
||||
"toml_serialization",
|
||||
"https://github.com/status-im/nim-kzg4844.git",
|
||||
"zxcvbn"
|
||||
)
|
||||
|
||||
requires "https://github.com/status-im/nimbus-security-resources.git"
|
||||
|
||||
import std/tables
|
||||
let namedBin = {
|
||||
namedBin = {
|
||||
"beacon_chain/nimbus_beacon_node": "nimbus_beacon_node",
|
||||
"beacon_chain/nimbus_validator_client": "nimbus_validator_client",
|
||||
"ncli/ncli": "ncli",
|
||||
|
10
config.nims
10
config.nims
@ -11,13 +11,9 @@ import std/strutils
|
||||
|
||||
const currentDir = currentSourcePath()[0 .. ^(len("config.nims") + 1)]
|
||||
|
||||
if getEnv("NIMBUS_BUILD_SYSTEM") == "yes" and
|
||||
# BEWARE
|
||||
# In Nim 1.6, config files are evaluated with a working directory
|
||||
# matching where the Nim command was invocated. This means that we
|
||||
# must do all file existance checks with full absolute paths:
|
||||
system.fileExists(currentDir & "nimbus-build-system.paths"):
|
||||
include "nimbus-build-system.paths"
|
||||
when withDir(thisDir(), system.fileExists("nimbus-build-system.paths")):
|
||||
if getEnv("NIMBUS_BUILD_SYSTEM") == "yes":
|
||||
include "nimbus-build-system.paths"
|
||||
|
||||
const nimCachePathOverride {.strdefine.} = ""
|
||||
when nimCachePathOverride == "":
|
||||
|
Loading…
x
Reference in New Issue
Block a user