Open gnidan opened 6 years ago
Since both are in this repo, any change to the pretty versions must be reflected in the corresponding minified versions.
Most recently, I used the following command to do this in batch:
ls examples | xargs -I {} sh -c "jq --sort-keys --indent 0 --join-output < ./examples/{}/1.0.0-pretty.json > ./examples/{}/1.0.0.json"
This uses the jq program, so maybe we want another method? Either way, this should be more easily accessible for future maintenance.
That looks like something that would go well in a Makefile. (make sure it's portable and works on at least OSX/linux.
Makefile
Since both are in this repo, any change to the pretty versions must be reflected in the corresponding minified versions.
Most recently, I used the following command to do this in batch:
This uses the jq program, so maybe we want another method? Either way, this should be more easily accessible for future maintenance.