From 780b4f4029bb7c6d6519402cb2b4469ed13e8f7b Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Fri, 18 Jan 2019 08:13:29 +0100
Subject: [PATCH] [setup] Properly declare and test "ci build" subcommand

---
 conda/meta.yaml | 1 +
 setup.py        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 57f9e604..afac334e 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -65,6 +65,7 @@ test:
     - bdt getpath --help
     - bdt caupdate --help
     - bdt ci --help
+    - bdt ci build --help
     - bdt ci deploy --help
     - bdt ci pypi --help
     - sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc {{ project_dir }}/sphinx
diff --git a/setup.py b/setup.py
index b3fac33b..f879c51e 100644
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,7 @@ setup(
           ],
 
         'bdt.ci.cli': [
+          'build = bob.devtools.scripts.ci:build',
           'deploy = bob.devtools.scripts.ci:deploy',
           'pypi = bob.devtools.scripts.ci:pypi',
           ],
-- 
GitLab