Skip to content

Commit c662a9e

Browse files
committed
Adapt sync-docs.sh script to include schema file
1 parent bf690df commit c662a9e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sync-docs.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ for f in faq.md spec.md tutorial.md; do
3434
done
3535
done
3636

37+
# Define variable
38+
lint_schema_version="1.0.0"
39+
lint_schema="$basedir"/reuse-docs/"$lint_schema_version"_lint_schema.json
40+
# Copy this file to
41+
cp "$lint_schema" "$basedir"/site/static
42+
3743
# Make permissions of newly generated folders the same as the already existing files
3844
uidgid=$(stat -c '%u:%g' "$basedir")
3945
chown -R "$uidgid" "$basedir"

0 commit comments

Comments
 (0)