Sitelet https://github.com/fsprojects/Paket/issues/2949
Skip to content

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

Description

@sanderaernouts

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions