blob: 7201e5052a9f75f4cddb6365ce08991e5bf88749 [file] [log] [blame]
Ed Tanousae2b0732021-04-29 13:23:53 -07001#!/bin/bash
Ed Tanousae2b0732021-04-29 13:23:53 -07002set -e
3
4# When called from openbmc-build-scripts, the `pwd` could be anywhere, but
5# the root of the repo is passed in the first argument. Switch to the repo
6# root so npm/git run in the right place.
7if [ -n "$1" ]; then
8 cd "$1"
Patrick Williamsbb454502025-12-15 16:47:15 -05009else
10 # This script is in the root of the repo so we can use it to find the root.
11 cd "$(dirname "${BASH_SOURCE[0]}")"
Ed Tanousae2b0732021-04-29 13:23:53 -070012fi
13python3 scripts/autojson.py configurations
Patrick Williamsae395742025-12-15 16:40:39 -050014scripts/generate_config_list.sh
15scripts/generate_schema_list.sh