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

Paket 'pack' does not correctly exclude 'project' template files #1818

Closed
varon opened this Issue Jul 18, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@varon
Contributor

varon commented Jul 18, 2016

Description

I experienced some very unclear difficulties with adding exclusions to paket's pack command.

Paket pack exclude parameters doesn't seem to work when thepaket.template file begins with type project, even if the project specifies an ID on the next line.

Repro steps

  1. Create a paket.template file in your project with the type as project.
  2. Try to run paket pack:
    .paket/paket.exe -v pack output "bin" exclude OpenTK.GLWidget

Expected behavior

Paket should exclude the project by ID if it specifies one, regardless of whether the type is a project or a file.

Actual behavior

Paket fails with an obscure error message:
Paket failed with: Could not find a part of the path '<snip>\src\OpenTK.GLWidget\bin\Release\OpenTK.GLWidget.dll'.

Known workarounds

Change the type from project to file.

Related information

  • Operating system: W10
  • Branch: Stable? Whichever the bootstrapper downloads.

@varon varon changed the title from Paket 'pack' does not correctly exclude `type project` template files to Paket 'pack' does not correctly exclude 'project' template files Jul 18, 2016

@varon

This comment has been minimized.

Show comment
Hide comment
@varon

varon Jul 18, 2016

Contributor

You can view an example of a build failing due to this here:
https://ci.appveyor.com/project/varon/opentk/build/0.0.1.6
https://travis-ci.org/opentk/opentk/builds/145428588

With the actual commit:
opentk/opentk@489d402

Contributor

varon commented Jul 18, 2016

You can view an example of a build failing due to this here:
https://ci.appveyor.com/project/varon/opentk/build/0.0.1.6
https://travis-ci.org/opentk/opentk/builds/145428588

With the actual commit:
opentk/opentk@489d402

@forki forki referenced this issue Jul 18, 2016

Merged

New build system #418

@forki forki closed this in 32d2cb0 Jul 18, 2016

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Jul 18, 2016

Member

thanks for reporting. should be fixed now.

Member

forki commented Jul 18, 2016

thanks for reporting. should be fixed now.

@varon

This comment has been minimized.

Show comment
Hide comment
@varon

varon Jul 18, 2016

Contributor

Thanks!

Contributor

varon commented Jul 18, 2016

Thanks!

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