Commit 2b3aba1c authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

feat: Remove obviated scripts

parent 32456ab7
Loading
Loading
Loading
Loading

scripts/count.sh

deleted100644 → 0
+0 −6
Original line number Diff line number Diff line
#! /bin/bash
set -e

# Only works on Mac/Linux
# Install jq with "brew install jq"
cd ./src/content/projects/ && ls | xargs cat | jq '{(.meta.id):.sections|map_values(length)}' | jq -s 'add'
 No newline at end of file

scripts/validate.sh

deleted100755 → 0
+0 −9
Original line number Diff line number Diff line
#! /bin/bash
set -e

./node_modules/.bin/ajv validate \
    --all-errors \
    --spec draft2020 \
    -s ./schemas/Project \
    -r "./schemas/{Contact,Graphic,Metadata,Research,Sections,Website}.json" \
    -d "src/content/projects/*.json" || true
 No newline at end of file