Skip to content
Snippets Groups Projects
Commit 2315e962 authored by Johannes Mey's avatar Johannes Mey
Browse files

add simple script to update all json scene files from their yaml versions

parent b23e24c3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# (re-)generate json configs from yaml files.
# This command requires yq, which can be installed in ubuntu using `snap install yq`.
for FILENAME in config_scene*.yaml objects.yaml; do
yq eval -o=json $FILENAME > "${FILENAME%%.*}.json"
done
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment