aboutsummaryrefslogtreecommitdiff
path: root/nimpb.nimble
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-04-11 21:28:54 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2018-04-11 21:28:54 +0300
commit466d8d1d2e878330ff36c2aacd640092e7fba738 (patch)
tree08836a6f3cb36f77aee48df0f35a6925084834e8 /nimpb.nimble
parentc67a380be0dea5961d99fb8573f891980236ce2b (diff)
downloadnimpb-466d8d1d2e878330ff36c2aacd640092e7fba738.tar.gz
nimpb-466d8d1d2e878330ff36c2aacd640092e7fba738.zip
Move binary part of compiler to nimpb_build
So that the binary nimble builds/installs for us is not named "compiler"... :-)
Diffstat (limited to 'nimpb.nimble')
-rw-r--r--nimpb.nimble8
1 files changed, 7 insertions, 1 deletions
diff --git a/nimpb.nimble b/nimpb.nimble
index 28247db..067245e 100644
--- a/nimpb.nimble
+++ b/nimpb.nimble
@@ -5,6 +5,12 @@ license = "MIT"
skipDirs = @["examples", "tests"]
-bin = @["nimpb/compiler/compiler"]
+bin = @["nimpb/compiler/nimpb_build"]
requires "nim >= 0.18.0"
+
+# Hard dependency for now. In the future we could make nimpb_protoc download
+# stuff on-demand which would make the dependency a bit lighter. Especially
+# if a user already has the protoc compiler somewhere, in which case
+# nimpb_protoc might be unnecessary.
+requires "nimpb_protoc"