1# 2# Copyright (C) 2016 Codethink Limited 3# 4# This program is free software; you can redistribute it and/or 5# modify it under the terms of the GNU Lesser General Public 6# License as published by the Free Software Foundation; either 7# version 2 of the License, or (at your option) any later version. 8# 9# This library is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12# Lesser General Public License for more details. 13# 14# You should have received a copy of the GNU Lesser General Public 15# License along with this library. If not, see <http://www.gnu.org/licenses/>. 16# 17# Authors: 18# Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> 19 20""" 21manual - Manual build element 22============================= 23The most basic build element does nothing but allows users to 24add custom build commands to the array understood by the :mod:`BuildElement <buildstream.buildelement>` 25 26The empty configuration is as such: 27 .. literalinclude:: ../../../buildstream/plugins/elements/manual.yaml 28 :language: yaml 29""" 30 31from buildstream import BuildElement 32 33 34# Element implementation for the 'manual' kind. 35class ManualElement(BuildElement): 36 pass 37 38 39# Plugin entry point 40def setup(): 41 return ManualElement 42