Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Add support for development dependencies #38

Closed
davidfowl opened this issue Mar 5, 2014 · 6 comments
Closed

Add support for development dependencies #38

davidfowl opened this issue Mar 5, 2014 · 6 comments

Comments

@davidfowl
Copy link
Member

In the project.json file, let the developer specify that a dependency is development time only depednency:

{
  "dependencies" : {
    "StyleCop" :  { "version" : "1.0-alpha-*", "type": "development" }
  }
}

This means it'll only be a dependency for meta programming and other development time activities.

parent #37

@davidfowl davidfowl added this to the Alpha milestone Apr 16, 2014
@davidfowl davidfowl self-assigned this Apr 21, 2014
@Alxandr
Copy link
Contributor

Alxandr commented May 28, 2014

Isn't it cleaner to have it under a different key? Like "devDependencies" or something?

@davidfowl
Copy link
Member Author

Nope, we want to have different kinds of depednencies, dev is just one of them.

@borgdylan
Copy link

Could we also have compile time dependencies so that the language service stuff does not get added to the project compilation?

@borgdylan
Copy link

Also could there be dependencies that you compile against, but then not get added to the nuspec? (example: packages with contracts for which runtimes have facades already)

@davidfowl
Copy link
Member Author

Yep, take a look at #37

@davidfowl
Copy link
Member Author

Closing this as this doesn't actually describe what needs to be done. We've added basic dependency types now we need to implement some of them.

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

No branches or pull requests

5 participants