Project setup

This commit is contained in:
Mark Spanbroek 2022-01-17 17:04:14 +01:00
commit 898bf8f16f
7 changed files with 38 additions and 0 deletions

5
.editorconfig Normal file
View File

@ -0,0 +1,5 @@
[*]
indent_style = space
insert_final_newline = true
indent_size = 2
trim_trailing_whitespace = true

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!*/
!*.*

5
License.md Normal file
View File

@ -0,0 +1,5 @@
Licensed and distributed under either of
[MIT license](http://opensource.org/licenses/MIT) or
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
at your option. These files may not be copied, modified, or distributed except
according to those terms.

12
ethers.nimble Normal file
View File

@ -0,0 +1,12 @@
version = "0.1.0"
author = "Nim Ethers Authors"
description = "library for interacting with Ethereum"
license = "MIT"
requires "chronos >= 3.0.0 & < 4.0.0"
requires "contractabi >= 0.4.0 & < 0.5.0"
task test, "Run the test suite":
exec "nimble install -d -y"
withDir "testmodule":
exec "nimble test"

2
testmodule/nim.cfg Normal file
View File

@ -0,0 +1,2 @@
--path:".."
--hint[XCannotRaiseY]:"off"

1
testmodule/test.nim Normal file
View File

@ -0,0 +1 @@
{.warning[UnusedImport]:off.}

10
testmodule/test.nimble Normal file
View File

@ -0,0 +1,10 @@
version = "0.1.0"
author = "Nim Ethers Authors"
description = "Tests for Nim Ethers library"
license = "MIT"
requires "asynctest >= 0.3.0 & < 0.4.0"
task test, "Run the test suite":
exec "nimble install -d -y"
exec "nim c -r test"