formatting fixes, add editorconfig, remove garbage from nimble file
This commit is contained in:
parent
f70988020b
commit
5509594cd9
|
@ -0,0 +1,5 @@
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_size = 2
|
||||||
|
trim_trailing_whitespace = true
|
|
@ -1,19 +1,13 @@
|
||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
author = "gmega"
|
author = "Swarmsim Authors"
|
||||||
description = "Simple swarm simulator"
|
description = "Simple swarm simulator"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
srcDir = "src"
|
srcDir = "."
|
||||||
installExt = @["nim"]
|
installExt = @["nim"]
|
||||||
bin = @["swarm_sim"]
|
|
||||||
|
|
||||||
|
requires "nim >= 1.6.0"
|
||||||
|
|
||||||
# Dependencies
|
|
||||||
|
|
||||||
requires "nim >= 2.0.0"
|
|
||||||
|
|
||||||
|
|
||||||
# Tasks
|
|
||||||
task test, "Run unit tests":
|
task test, "Run unit tests":
|
||||||
exec "nim c -r tests/all_tests.nim"
|
exec "nim c -r tests/all_tests.nim"
|
|
@ -33,7 +33,3 @@ suite "event driven engine tests":
|
||||||
|
|
||||||
for schedulable in schedulables:
|
for schedulable in schedulables:
|
||||||
check(schedulable.scheduledAt == schedulable.time)
|
check(schedulable.scheduledAt == schedulable.time)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue