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

feat: support multiple output modes #1813

Merged
merged 2 commits into from
Mar 4, 2017
Merged

feat: support multiple output modes #1813

merged 2 commits into from
Mar 4, 2017

Conversation

patrickhulce
Copy link
Collaborator

@patrickhulce patrickhulce commented Mar 3, 2017

fixes #1714

not sure what to do exactly about the path, the meaning of the --output-path extension starts to fall apart a bit when you have multiple files so figured I'd stick with the current paradigm.

USAGE:

lighthouse --output html --output json --output-path foobar.html generates

  • foobar.report.html
  • foobar.report.json

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CLI looks fine to me.
Can you mention it in either the readme or the output describe string?

CI didn't like this PR, it seems. :(

@patrickhulce
Copy link
Collaborator Author

CI didn't like this PR, it seems. :(

Yeah tsc not part of test or smokehouse and apparently it still outputs even when compilation fails...? fixed

@paulirish paulirish merged commit fe8adfa into master Mar 4, 2017
@brendankenny brendankenny deleted the multiple_outputs branch March 7, 2017 21:41
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

Successfully merging this pull request may close these issues.

WPT compat: Support multiple output formats
2 participants