Nimble package init

This commit is contained in:
Joey Yakimowich-Payne 2020-03-10 16:21:40 -06:00
commit 2d636d636d
3 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# This is just an example to get you started. A typical library package
# exports the main API in this file. Note that you cannot rename this file
# but you can remove it if you wish.
proc add*(x, y: int): int =
## Adds two files together.
return x + y

View file

@ -0,0 +1,14 @@
# Package
version = "0.1.0"
author = "Joey Yakimowich-Payne"
description = "Protobuf implementation compatible with the nim-serialization framework."
license = "MIT"
srcDir = "src"
skipDirs = @["tests"]
# Dependencies
requires "nim >= 1.0.6"

1
tests/config.nims Normal file
View file

@ -0,0 +1 @@
switch("path", "$projectDir/../src")