| Ed Tanous | ae2b073 | 2021-04-29 13:23:53 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| Ed Tanous | ae2b073 | 2021-04-29 13:23:53 -0700 | [diff] [blame] | 2 | set -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. |
| 7 | if [ -n "$1" ]; then |
| 8 | cd "$1" |
| Patrick Williams | bb45450 | 2025-12-15 16:47:15 -0500 | [diff] [blame] | 9 | else |
| 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 Tanous | ae2b073 | 2021-04-29 13:23:53 -0700 | [diff] [blame] | 12 | fi |
| 13 | python3 scripts/autojson.py configurations |
| Patrick Williams | ae39574 | 2025-12-15 16:40:39 -0500 | [diff] [blame] | 14 | scripts/generate_config_list.sh |
| 15 | scripts/generate_schema_list.sh |