Skip to content

Commit 1153f01

Browse files
DEL categories
1 parent f2509ca commit 1153f01

File tree

5 files changed

+0
-70
lines changed

5 files changed

+0
-70
lines changed

.vscode/settings.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"yaml.schemas": {
3-
"schemas/categories.yaml": "/wiki/categories.yaml",
43
"schemas/function.yaml": "/functions/**/*",
54
"schemas/article.yaml": "/article/**/*",
65
}

schemas/categories.yaml

-36
This file was deleted.

tools/validate.cmd

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
@echo off
22

3-
.\tools\yajsv.exe -s schemas/categories.yaml "wiki/categories.yaml"
4-
53
for /r "functions" %%f in (*.yaml) do (
64
.\tools\yajsv.exe -s schemas/function.yaml "%%f"
75
)

tools/validate.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/bin/bash
22

3-
tools/yajsv -s schemas/categories.yaml wiki/categories.yaml
4-
53
find 'functions/' -name '*.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/function.yaml {}
64
find 'articles/' -name '*.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/article.yaml {}

wiki/categories.yaml

-29
This file was deleted.

0 commit comments

Comments
 (0)