chore: rename to status_node_manager; config: make sure nimble test works

This commit is contained in:
Zahary Karadjov 2024-01-13 15:20:46 +02:00
parent 4519b41aea
commit 859bb13b43
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
10 changed files with 39 additions and 37 deletions

4
.gitignore vendored
View File

@ -1,6 +1,6 @@
# Project
nimbus_node_manager
nimbus_node_manager.exe
status_node_manager
status_node_manager.exe
# Nim cache
nimcache

View File

@ -32,7 +32,7 @@ clean: | clean-librln
##################
waku-utils: | librln
nim wakuUtils $(NIM_PARAMS) nimbus_node_manager.nims
nim wakuUtils $(NIM_PARAMS) status_node_manager.nims
waku-utils-example: | librln
nim wakuUtilsExamples $(NIM_PARAMS) nimbus_node_manager.nims
nim wakuUtilsExamples $(NIM_PARAMS) status_node_manager.nims

View File

@ -9,3 +9,4 @@ when withDir(thisDir(), system.fileExists("nimble.paths")):
--excessiveStackTrace:on
# enable metric collection
--define:metrics
--path:"src"

View File

@ -1,30 +0,0 @@
# Package
version = "0.1.0"
author = "Emil Ivanichkov"
description = "Nimbus Node Manager"
license = "MIT"
srcDir = "src"
installExt = @["nim"]
bin = @["nimbus_node_manager"]
# Dependencies
requires "nim >= 1.6.14",
"waku",
"libp2p#head",
"unittest2 == 0.2.1",
"confutils#head",
"serialization",
"untar",
"presto",
"stew",
"chronos#head",
"nimcrypto",
"eth",
"prompt",
"chronicles",
"metrics",
"https://github.com/status-im/nim-dnsdisc",
"web3#428b931e7c4f1284b4272bc2c11fca2bd70991cd"

View File

@ -1,7 +1,7 @@
# This is just an example to get you started. A typical hybrid package
# uses this file as the main entry point of the application.
import nimbus_node_managerpkg/submodule
import status_node_manager/submodule
when isMainModule:
echo(getWelcomeMessage())

View File

@ -1,5 +1,5 @@
# This is just an example to get you started. Users of your hybrid library will
# import this file by writing ``import nimbus_node_managerpkg/submodule``. Feel free to rename or
# import this file by writing ``import status_node_manager/submodule``. Feel free to rename or
# remove this file altogether. You may create additional modules alongside
# this file as required.

View File

@ -0,0 +1,29 @@
# Package
version = "0.1.0"
author = "Status Research & Development GmbH"
description = "Back-end service for the Status node management GUI"
license = "MIT or Apache License 2.0"
srcDir = "src"
installExt = @["nim"]
bin = @["status_node_manager"]
# Dependencies
requires "nim >= 1.6.14",
"waku",
"libp2p",
"unittest2 >= 0.2.1",
"confutils",
"serialization",
"untar",
"presto",
"stew",
"chronos",
"nimcrypto",
"eth",
"prompt",
"chronicles",
"metrics",
"dnsdisc",
"web3"

2
tests/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
test1
test1.exe

View File

@ -7,6 +7,6 @@
import unittest
import nimbus_node_managerpkg/submodule
import status_node_manager/submodule
test "correct welcome":
check getWelcomeMessage() == "Hello, World!"