Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.13 KB

Installation.md

File metadata and controls

46 lines (35 loc) · 1.13 KB

Installation

Basic Installation

You can load Winter evaluating:

Metacello new
  baseline: 'Winter';
  repository: 'github://ba-st/Winter:release-candidate/source';
  load

Change release-candidate to some released version if you want a pinned version

Using as dependency

In order to include Winter as part of your project, you should reference the package in your product baseline:

setUpDependencies: spec

  spec
    baseline: 'Winter'
      with: [ spec
        repository: 'github://ba-st/Winter:v{XX}/source';
        loads: #('Deployment') ];
    import: 'Winter'.

Replace {XX} with the version you want to depend on

baseline: spec

  <baseline>
  spec
    for: #common
    do: [ self setUpDependencies: spec.
      spec package: 'My-Package' with: [ spec requires: #('Winter') ] ]

Provided groups

  • Deployment will load all the packages needed in a deployed application
  • Tests will load the test cases
  • CI is the group loaded in the continuous integration setup
  • Development will load all the needed packages to develop and contribute to the project