Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document keeping strict example manifests in sync with pretty versions #129

Open
gnidan opened this issue Aug 24, 2018 · 1 comment
Open

Comments

@gnidan
Copy link
Contributor

gnidan commented Aug 24, 2018

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.

@pipermerriam
Copy link
Member

That looks like something that would go well in a Makefile. (make sure it's portable and works on at least OSX/linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants