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 packages entire directory into package lib folder when files block contains an empty line #2949

Closed
sanderaernouts opened this Issue Dec 28, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@sanderaernouts

sanderaernouts commented Dec 28, 2017

Description

paket pack packages entire directory into package lib folder when files block contains an empty line

Repro steps

  1. Create a paket.template file with an empty line between files:
type file
id some.package
files
  path/to/a/file ==> build/bin

  path/to/another/file ==> build/bin

Please provide the steps required to reproduce the problem

  1. run paket pack out --template paket.template

If possible then please create a git repository with a repro sample or attach a zip to the issue.

Expected behavior

The package contains only a build/bin folder with 2 files in there

Actual behavior

The package contains a build/bin folder with 2 files in there but also contains a lib folder with the contents of the entire folder where the paket.template file is placed

Known workarounds

Have no empty lines in your files block.

@sanderaernouts

This comment has been minimized.

sanderaernouts commented Feb 27, 2018

@enricosada any updates on this? Had the same issue again yesterday (paket 5.145.1) and this produces a 1GB package.

@forki forki closed this in 0ab8f64 Feb 27, 2018

@sanderaernouts

This comment has been minimized.

sanderaernouts commented Feb 27, 2018

Thanks @forki

@forki

This comment has been minimized.

Member

forki commented Feb 27, 2018

please test and let me know. thanks

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