Skip to content
Henrik Feldt edited this page Feb 4, 2018 · 2 revisions

nugets_pack

This a revamped version that generates paket.template files.

nugets_pack :create_nugets_quick => [:versioning] do |x|
  x.configuration = Configuration
  x.output  = 'build/pkg'
  x.exe     = '.paket/paket.exe'
  x.version = ENV['NUGET_VERSION']
  x.files   = [ 'src/Suave.Locale/Suave.Locale.fsproj' ]
  x.authors = 'Henrik Feldt'
  x.description = 'An internationalisation WebPart and library for Suave for use with React-Intl or other i18n systems.'
end

In .gitignore:

paket.template

Usage

You can set the configuration to any valid snake_case property that exists as a camelCase property in the nuspec.

Further, you can set the properties in the Config class.

Clone this wiki locally