8000 Move library.properties schema to dedicated folder · arduino/arduino-cli@ffca730 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ffca730

Browse files
committed
Move library.properties schema to dedicated folder
As additional schemas and their tests are added to the repository, it will be useful to have a dedicated folder
1 parent 9d29588 commit ffca730

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configuration/configuration.go

Lines changed: 1 addition & 1 deletion
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
}

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

Lines changed: 1 addition & 1 deletion
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)
0