Skip to content

Commit

Permalink
try to play the nimble game
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Sep 19, 2019
1 parent 81fe9cc commit 9ad11b9
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/tests
3 changes: 1 addition & 2 deletions openapi.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ license = "MIT"
requires "nim >= 0.20.0"
requires "npeg >= 0.14.0"

task test, "Runs the test suite":
exec "nim c -r tests.nim"
srcDir = "src"
4 changes: 4 additions & 0 deletions src/openapi.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import openapi/codegen

export generate
export render
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions tests/nim.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
path="../src/"
6 changes: 3 additions & 3 deletions tests.nim → tests/tests.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import strutils
import options
import json

import paths
import parser
import hydrate
import openapi/paths
import openapi/parser
import openapi/hydrate


let logger = newConsoleLogger(useStderr=true)
Expand Down

0 comments on commit 9ad11b9

Please sign in to comment.