Skip to content

Streamline package options #587

Closed
Closed

Description

@agross

Paket supports several options, configured at different levels:

  • content: none (global)
  • framework (for nuget in paket.dependencies)
  • copy_local (paket.references)

I think we should streamline these to let the user define any option on any level (global, package level, reference level) with the possibility to enhance the option set or override default options on lower levels (comparable to Git's three-level configuration system).

The syntax should be streamlined to the one discussed here.

paket.dependencies:

copy_local: true
framework: >= net40
content: none

nuget Foobar 1.2.3 copy_local: true, framework: >= net40, content: none

paket.references:

Foobar copy_local: true, framework: >= net40, content: none

Current status

paket.dependencies global support:

  • content
  • framework
  • copy_local
  • import_targets

paket.dependencies per-package support:

  • content
  • framework
  • copy_local
  • import_targets

paket.references support (only per-package):

  • content
  • framework
  • copy_local
  • import_targets

Activity

  1. forki commented on Feb 17, 2015

    @forki
    Member

    The same applies to import_targets:false which already works in paket.references files.

  2. agross commented on Feb 17, 2015

    @agross
    ContributorAuthor

    Please check off above ;-)

  3. forki commented on Feb 18, 2015

    @forki
    Member

    free

  4. agross commented on Mar 20, 2015

    @agross
    ContributorAuthor

    Perhaps we should add redirects: on as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions