sunspec 0.8.0

SunSpec 1.1 compliant library with tokio support
Documentation
1
2
3
4
5
6
7
8
9
10
11
JSONFILES=$(shell (ls model_*.json))

SCHEMA=schema.json

all:: check

check: $(JSONFILES)
	@# dump stdout to /dev/null to avoid cluttering the output
	@# stuff we care about (errors and pass messages) are written to stderr
	@echo Using jsonschema to validate all files...
	@echo -n $^ | xargs --max-lines=1 --verbose --replace=% --delimiter=' ' jsonschema -i % $(SCHEMA) > /dev/null