From f4d2c114eea13c2909786c9a2fe37f0d8eceb7e0 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Tue, 8 Sep 2020 09:17:40 +0200 Subject: [PATCH] Ensure that nimble installs sources/ and build/ folders --- .gitignore | 11 ++++++++++- ngtcp2.nimble | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dab42ad..02f02c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,13 @@ * !*/ !*.* -build + +# ignore all cmake build files, except version.h +build/* +!build/lib/ +build/lib/* +!build/lib/includes/ +build/lib/includes/* +!build/lib/includes/ngtcp2/ +build/lib/includes/ngtcp2/* +!build/lib/includes/ngtcp2/version.h diff --git a/ngtcp2.nimble b/ngtcp2.nimble index 4731ef3..2898089 100644 --- a/ngtcp2.nimble +++ b/ngtcp2.nimble @@ -3,5 +3,7 @@ version = "0.1.0" author = "Status Research & Development GmbH" description = "Nim wrapper around the ngtcp2 library" license = "MIT" +installDirs = @["sources", "build"] +installFiles = @["ngtcp2.nim"] requires "nim >= 1.2.6"