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

Cmdline flag to check two jsonnet files manifest equivalently #33

Open
sparkprime opened this issue Feb 5, 2015 · 0 comments
Open

Cmdline flag to check two jsonnet files manifest equivalently #33

sparkprime opened this issue Feb 5, 2015 · 0 comments

Comments

@sparkprime
Copy link
Contributor

Evaluate both files and check JSON output is the same.

This is useful when refactoring to know whether or not the changes were purely internal (good) or had some external effect (bad).

E.g. if you're a vim user:

jsonnet --compare Foo.jsonnet Foo.jsonnet~

Can output a diff of the two JSON strings.

Conflicts with --multi.

sbarzowski added a commit to sbarzowski/jsonnet that referenced this issue Jun 10, 2024
* Optional args parser/lexer/ast support

Just "frontend" part. They are ignored during actual execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant