diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-14 13:46:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-14 13:46:09 +0200 |
commit | f9b9844eabe29250298f8120fa32a3b98c718454 (patch) | |
tree | dd97e56a4f8aaf26fa8fa3ac3c7755ab849d5bf5 /bpkg/cfg-create.cxx | |
parent | 9f34890ff201588e829174f5e19634ddcd159206 (diff) |
Create empty database in cfg-create
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r-- | bpkg/cfg-create.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index 1875c75..08e64b1 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -11,6 +11,7 @@ #include <bpkg/types> #include <bpkg/utility> +#include <bpkg/database> #include <bpkg/diagnostics> using namespace std; @@ -145,6 +146,10 @@ namespace bpkg run (args); } + // Create the database. + // + open (d, true); + if (verb) { d.complete (); |