Skip to content

Commit

Permalink
Added test task and incremented version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
KeepCoolWithCoolidge committed Sep 22, 2018
1 parent aa448b6 commit dd1c394
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions nimlibxlsxwriter.nimble
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Package

version = "0.1.0"
version = "0.1.1"
author = "KeepCoolWithCoolidge"
description = "libxslxwriter wrapper for Nim"
license = "MIT"

skipDirs = @["tests"]

# Dependencies

requires "nimgen >= 0.1.4"
Expand All @@ -21,4 +19,20 @@ task setup, "Checkout and generate":
exec cmd & "nimgen nimlibxlsxwriter.cfg"

before install:
setupTask()
setupTask()

task test, "Run tests":
withDir("tests"):
exec "nim c -r anatomy.nim"
exec "nim c -r array_formula.nim"
exec "nim c -r autofilter.nim"
exec "nim c -r chart_area.nim"
exec "nim c -r chart_bar.nim"
exec "nim c -r chart_clustered.nim"
exec "nim c -r chart_column.nim"
exec "nim c -r chart_data_table.nim"
exec "nim c -r chart_data_tools.nim"
exec "nim c -r chart_test.nim"
exec "nim c -r date_and_times.nim"
exec "nim c -r date_and_times_2.nim"
exec "nim c -r date_and_times_3.nim"

0 comments on commit dd1c394

Please sign in to comment.