summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2018-12-12 15:48:01 +0000
committerJürg Billeter <j@bitron.ch>2019-01-24 14:37:28 +0100
commit3850274b423fff404ed3acaf1a21f271b07c6a08 (patch)
tree8c135de310f0b59bd728c6fa318a308d97b1026f
parente03dd5fc594025817b0da897fe94283a4faa180b (diff)
downloadbuildstream-3850274b423fff404ed3acaf1a21f271b07c6a08.tar.gz
projectconfig.yaml: Add key for default targets
_versions.py: Bump format version
-rw-r--r--buildstream/_versions.py2
-rw-r--r--buildstream/data/projectconfig.yaml8
2 files changed, 9 insertions, 1 deletions
diff --git a/buildstream/_versions.py b/buildstream/_versions.py
index 8472a5b33..2563fa504 100644
--- a/buildstream/_versions.py
+++ b/buildstream/_versions.py
@@ -23,7 +23,7 @@
# This version is bumped whenever enhancements are made
# to the `project.conf` format or the core element format.
#
-BST_FORMAT_VERSION = 20
+BST_FORMAT_VERSION = 21
# The base BuildStream artifact version
diff --git a/buildstream/data/projectconfig.yaml b/buildstream/data/projectconfig.yaml
index e9bdaa160..2a6b09a15 100644
--- a/buildstream/data/projectconfig.yaml
+++ b/buildstream/data/projectconfig.yaml
@@ -167,3 +167,11 @@ shell:
# Command to run when `bst shell` does not provide a command
#
command: [ 'sh', '-i' ]
+
+# Defaults for bst commands
+#
+defaults:
+
+ # Set default target elements to use when none are passed on the command line.
+ # If none are configured in the project, default to all project elements.
+ targets: []