Skip to content

Commit dbdc5a0

Browse files
authored
Merge pull request #24 from arduino/per1234/schemas-folder
Move library.properties schema to dedicated folder
2 parents b301992 + ffca730 commit dbdc5a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: configuration/configuration.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ func SchemasPath() *paths.Path {
103103
if err != nil {
104104
panic(err)
105105
}
106-
return paths.New(executablePath).Parent()
106+
return paths.New(executablePath).Parent().Join("etc", "schemas")
107107
}

Diff for: arduino-library-properties-schema.json renamed to etc/schemas/arduino-library-properties-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://github.com/arduino/arduino-check/arduino-library-properties-schema.json",
3+
"$id": "https://raw.githubusercontent.com/arduino/arduino-check/main/etc/schema/arduino-library-properties-schema.json",
44
"title": "Arduino library.properties JSON schema",
55
"description": "library.properties is the metadata file for Arduino libraries. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata",
66
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",

0 commit comments

Comments
 (0)