Skip to content

Commit 616dba9

Browse files
committed
feat: Add vintage manifest
1 parent a9145ec commit 616dba9

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cp ./src/CNAME ./_site/.
77

88
# Assets
99
cp -r ./assets ./_site/.
10+
cp -r ./src/vintage ./_site/vintage
1011
for file in ./_site/assets/styles/*.css; do
1112
dest=${file%.css}.min.css
1213
esbuild --minify $file >$dest &
@@ -40,6 +41,7 @@ mend --input "$input" ./src/minecraft_unicode.html >./_site/minecraft_unicode.ht
4041
mend --input "$input" ./src/eyecons.html >./_site/eyecons.html &
4142
mend --input "$input" ./src/tomefile.html >./_site/tomefile.html &
4243
mend --input "$input" ./src/crowscout_ii.html >./_site/crowscout_ii.html &
44+
mend --input "$input" ./src/blog.html >./_site/blog.html &
4345

4446
wait
4547
echo "Done."

src/vintage/manifest_schema.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"type": "object",
3+
"required": [
4+
"type"
5+
],
6+
"properties": {
7+
"type": {
8+
"type": "string",
9+
"enum": [
10+
"generate",
11+
"inline"
12+
]
13+
},
14+
"iterators": {
15+
"type": "object",
16+
"patternProperties": {
17+
"^[a-z_]+$": {
18+
"type": "array",
19+
"items": {
20+
"type": [
21+
"array",
22+
"string"
23+
],
24+
"minItems": 1,
25+
"items": {
26+
"type": "string"
27+
}
28+
}
29+
}
30+
}
31+
},
32+
"arguments": {
33+
"type": "array",
34+
"items": {
35+
"type": "string"
36+
}
37+
}
38+
},
39+
"additionalProperties": false
40+
}

0 commit comments

Comments
 (0)