diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-23 19:05:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-28 17:39:03 +0300 |
commit | 42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb (patch) | |
tree | bdd2cdbf35b4dfbfbc77763156182f03d497ad16 /bpkg/types-parsers.hxx | |
parent | dc5296af63000cddc4b46fc205137c20578cb81f (diff) |
Add repository type detection
Diffstat (limited to 'bpkg/types-parsers.hxx')
-rw-r--r-- | bpkg/types-parsers.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/types-parsers.hxx b/bpkg/types-parsers.hxx index bddb425..4f1dfc7 100644 --- a/bpkg/types-parsers.hxx +++ b/bpkg/types-parsers.hxx @@ -8,6 +8,8 @@ #ifndef BPKG_TYPES_PARSERS_HXX #define BPKG_TYPES_PARSERS_HXX +#include <libbpkg/manifest.hxx> + #include <bpkg/types.hxx> #include <bpkg/options-types.hxx> @@ -40,6 +42,13 @@ namespace bpkg static void parse (auth&, bool&, scanner&); }; + + template <> + struct parser<repository_type> + { + static void + parse (repository_type&, bool&, scanner&); + }; } } |