Skip to content

Instantly share code, notes, and snippets.

@flowsprenger
Created February 15, 2016 09:56
Show Gist options
  • Save flowsprenger/8280a7f0f2cf5f64b8b1 to your computer and use it in GitHub Desktop.
Save flowsprenger/8280a7f0f2cf5f64b8b1 to your computer and use it in GitHub Desktop.
Paket 2.50.7 breaks globbing in pack
mkdir -p src/A/Folder
mkdir -p src/A.Source
mv src-A.Source-paket.template src/A.Source/paket.template
mv src-A-Folder-source.cs src/A/Folder/source.cs
mono .paket/.paket.exe init
mono .paket/paket.exe pack --version 1
expected
unzip A.Source.1.nupkg
Archive: A.Source.1.nupkg
inflating: content/A/Folder/source.cs
inflating: A.Source.nuspec
inflating: package/services/metadata/core-properties/coreProp.psmdcp
inflating: _rels/.rels
inflating: [Content_Types].xml
with >= 2.50.7
unzip A.Source.1.nupkg
Archive: A.Source.1.nupkg
inflating: A.Source.nuspec
inflating: package/services/metadata/core-properties/coreProp.psmdcp
inflating: _rels/.rels
inflating: [Content_Types].xml
// just an empty file i expect to be packaged
type file
id A.Source
owners Team
authors Team
projectUrl
https://github.com/
iconUrl
http://github.io/
licenseUrl
https://github.com/
requireLicenseAcceptance
false
copyright
Copyright 2015
tags
tag
summary
summary
description
Project has no description
files
../A/**/*.cs ==> content/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment