aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-06-17 08:05:37 -0400
committerDave Barach <dave@barachs.net>2020-06-17 08:06:35 -0400
commit35ccd26a5d509a090d7f173de4145c1c402c4f61 (patch)
tree0efb3a5827baec94fa463ed4c6f33b875b7834a1 /src/scripts
parent212bcfefccae082c64b84eddd3c7aa368a5b0f20 (diff)
build: multiple yaml file support
Change the yaml file matching pattern from FEATURE.yaml to FEATURE*.yaml, so we can document multiple features in one directory. Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Ic62f9fb4c73330c698724244cd8b362364fce5f9
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/fts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/fts.py b/src/scripts/fts.py
index c1dd882c8be..249970405c4 100755
--- a/src/scripts/fts.py
+++ b/src/scripts/fts.py
@@ -58,7 +58,7 @@ schema = {
def filelist_from_git_status():
filelist = []
- git_status = 'git status --porcelain */FEATURE.yaml'
+ git_status = 'git status --porcelain */FEATURE*.yaml'
rv = run(git_status.split(), stdout=PIPE, stderr=PIPE)
if rv.returncode != 0:
sys.exit(rv.returncode)
@@ -71,7 +71,7 @@ def filelist_from_git_status():
def filelist_from_git_ls():
filelist = []
- git_ls = 'git ls-files :(top)*/FEATURE.yaml'
+ git_ls = 'git ls-files :(top)*/FEATURE*.yaml'
rv = run(git_ls.split(), stdout=PIPE, stderr=PIPE)
if rv.returncode != 0:
sys.exit(rv.returncode)