formatting fixes, add editorconfig, remove garbage from nimble file

This commit is contained in:
gmega 2023-08-11 19:08:15 -03:00
parent f70988020b
commit 5509594cd9
6 changed files with 15 additions and 20 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

View File

@ -1,19 +1,13 @@
# Package
version = "0.1.0"
author = "gmega"
author = "Swarmsim Authors"
description = "Simple swarm simulator"
license = "MIT"
srcDir = "src"
srcDir = "."
installExt = @["nim"]
bin = @["swarm_sim"]
requires "nim >= 1.6.0"
# Dependencies
requires "nim >= 2.0.0"
# Tasks
task test, "Run unit tests":
exec "nim c -r tests/all_tests.nim"

View File

@ -33,7 +33,3 @@ suite "event driven engine tests":
for schedulable in schedulables:
check(schedulable.scheduledAt == schedulable.time)