Project setup
This commit is contained in:
commit
898bf8f16f
|
@ -0,0 +1,5 @@
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_size = 2
|
||||||
|
trim_trailing_whitespace = true
|
|
@ -0,0 +1,3 @@
|
||||||
|
*
|
||||||
|
!*/
|
||||||
|
!*.*
|
|
@ -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.
|
|
@ -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"
|
|
@ -0,0 +1,2 @@
|
||||||
|
--path:".."
|
||||||
|
--hint[XCannotRaiseY]:"off"
|
|
@ -0,0 +1 @@
|
||||||
|
{.warning[UnusedImport]:off.}
|
|
@ -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"
|
Loading…
Reference in New Issue