summaryrefslogtreecommitdiff
path: root/scripts/validator
blob: 0913e935a0acacfbbe2423f9dfe8f225009a073b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

#
# Task file validator
#
# Currently, just calls pykwalify, however we could later anticipate
# expanding to perform SHA1 commit title expansion and more complex
# validation rules.
# At that point, this could potentially become a python script and pull
# in the pykwalify libraries to check internally.
#

TASKFILE=$1

pykwalify -s projects/project.schema.yaml -d $TASKFILE