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

Change output directory? #61

Open
hudsonburgess opened this issue Feb 27, 2017 · 7 comments
Open

Change output directory? #61

hudsonburgess opened this issue Feb 27, 2017 · 7 comments

Comments

@hudsonburgess
Copy link

There doesn't seem to be a way to specify the output directory for reports. This would be helpful.

@lkdjiin
Copy link
Owner

lkdjiin commented Feb 27, 2017

This should be an easy option to add and I will be more than happy to add it if only I could see a use case for it.

I'm very curious to know what's wrong with coverage and which other directory name do you need?

@hudsonburgess
Copy link
Author

hudsonburgess commented Feb 27, 2017

coverage/ is fine for the name. I want to move it up one level (say, to a docs/ directory outside the root of the source code)

@lkdjiin
Copy link
Owner

lkdjiin commented Feb 28, 2017

Yes, it should be possible to add this option. Let me take a closer look.
In the meantime could you tell me more on why you would need this ? (I never had to do this, and so it's seems weird to me, I just would like to understand)

@hudsonburgess
Copy link
Author

Working on a project in which all the documentation (coverage, test plans, etc.) needs to stay in a separate folder from the source code.

Structure should be something like this

<project root>

  • docs/
    • coverage/
    • ...
  • app/
    • app/
    • config/
    • ...

@lkdjiin
Copy link
Owner

lkdjiin commented Feb 28, 2017

Ok, thanks for the explanation. I think I'll be able to give it a try tomorrow

@lkdjiin
Copy link
Owner

lkdjiin commented Mar 1, 2017

Hello @hab9sr
It's done in the branch https://github.com/lkdjiin/coco/tree/coverage-directory
There is a new option output_directory. You can set it as follow for your specific need:

:output_directory: "../docs/coverage"

Could you give it a try and then tell me if it's ok for you?

@hudsonburgess
Copy link
Author

Perfect; that's exactly what I needed. Thanks!

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

2 participants