d2: use subPackage to build only cli

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-01 16:12:30 +03:00
parent 2b3fe47333
commit aaa2f3a237
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -34,20 +34,5 @@ buildGoModule {
postInstall = "installManPage ci/release/template/man/d2.1";
excludedPackages = [
"d2compiler"
"d2ast"
"d2exporter"
"d2format"
"d2graph"
"d2layouts"
"d2lib"
"d2oracle"
"d2parser"
"d2plugin"
"d2renderers"
"d2target"
"d2theme"
"e2etests"
];
subPackages = [ "." ];
}