From 2d636d636dbf1e9331f3cf137ab5ad0727fb750a Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Tue, 10 Mar 2020 16:21:40 -0600 Subject: [PATCH] Nimble package init --- protobuf_serialization.nim | 7 +++++++ protobuf_serialization.nimble | 14 ++++++++++++++ tests/config.nims | 1 + 3 files changed, 22 insertions(+) create mode 100644 protobuf_serialization.nim create mode 100644 protobuf_serialization.nimble create mode 100644 tests/config.nims diff --git a/protobuf_serialization.nim b/protobuf_serialization.nim new file mode 100644 index 0000000..4b2a270 --- /dev/null +++ b/protobuf_serialization.nim @@ -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 diff --git a/protobuf_serialization.nimble b/protobuf_serialization.nimble new file mode 100644 index 0000000..90b1304 --- /dev/null +++ b/protobuf_serialization.nimble @@ -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" diff --git a/tests/config.nims b/tests/config.nims new file mode 100644 index 0000000..3bb69f8 --- /dev/null +++ b/tests/config.nims @@ -0,0 +1 @@ +switch("path", "$projectDir/../src") \ No newline at end of file