File tree 3 files changed +13
-66
lines changed
3 files changed +13
-66
lines changed Original file line number Diff line number Diff line change
1
+ edge-observations.json
2
+ events /new_aggregate.json
3
+ events /new_qname.json
4
+ package-lock.json
Original file line number Diff line number Diff line change 1
- GENERATED = events-mqtt-message.json \
2
- edge-configuration.json
1
+ GENERATED = events/new_qname.json \
2
+ events/new_aggregate.json \
3
+ edge-observations.json
3
4
4
5
5
- validate : $(GENERATED )
6
- ajv --spec=draft2019 --strict=false compile -s $<
6
+ all : $(GENERATED ) validate
7
7
8
- events-mqtt-message.json : events-mqtt-message.yaml
9
- yq . < $< -o json > $@
8
+ validate :
9
+ for file in $( GENERATED) ; do \
10
+ ajv --spec=draft2020 --strict=false compile -s $$ file ; \
11
+ done
10
12
11
- edge-configuration .json : edge-configuration .yaml
13
+ % .json : % .yaml
12
14
yq . < $< -o json > $@
13
15
14
16
clean :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments