1ae2b0734SEd Tanous#!/bin/bash 2ae2b0734SEd Tanousset -e 3ae2b0734SEd Tanous 4ae2b0734SEd Tanous# When called from openbmc-build-scripts, the `pwd` could be anywhere, but 5ae2b0734SEd Tanous# the root of the repo is passed in the first argument. Switch to the repo 6ae2b0734SEd Tanous# root so npm/git run in the right place. 7ae2b0734SEd Tanousif [ -n "$1" ]; then 8ae2b0734SEd Tanous cd "$1" 9*bb454503SPatrick Williamselse 10*bb454503SPatrick Williams # This script is in the root of the repo so we can use it to find the root. 11*bb454503SPatrick Williams cd "$(dirname "${BASH_SOURCE[0]}")" 12ae2b0734SEd Tanousfi 13ae2b0734SEd Tanouspython3 scripts/autojson.py configurations 14ae395745SPatrick Williamsscripts/generate_config_list.sh 15ae395745SPatrick Williamsscripts/generate_schema_list.sh 16