Skip to content

Commit

Permalink
Always have Famix in baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ClotildeToullec committed Oct 3, 2023
1 parent 688c54e commit a093a88
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions src/BaselineOfFamixTagging/BaselineOfFamixTagging.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,28 @@ Class {
#category : #BaselineOfFamixTagging
}

{ #category : #baseline }
{ #category : #baselines }
BaselineOfFamixTagging >> baseline: spec [

<baseline>
spec for: #common do: [ "Dependencies"
self materialColor: spec.
self famix: spec.

"Packages"
spec
package: 'Famix-Tagging'
with: [ spec requires: #( 'MaterialColors' ) ];
with: [ spec requires: #( 'Famix' 'MaterialColors' ) ];
package: 'Famix-Tagging-Code'
with: [ spec requires: #( 'Famix-Tagging' ) ];
package: 'Famix-Tagging-Tests-Generator';
package: 'Famix-Tagging-Tests-Entities';
package: 'Famix-Tagging-Tests' with: [
with: [ spec requires: #( 'FamixTraits' 'Famix-Tagging' ) ];
package: 'Famix-Tagging-Tests-Generator'
with: [ spec requires: #( 'FamixGenerator' ) ];
package: 'Famix-Tagging-Tests-Entities'
with: [ spec requires: #( 'FamixTraits' ) ];
package: 'Famix-Tagging-Tests' with: [
spec requires:
#( 'Famix-Tagging' 'Famix-Tagging-Code' 'Famix-Tagging-Tests-Entities' ) ].

"If Famix is not already present"
spec for: #NeedsFamix do: [
self famix: spec.
spec
package: 'Famix-Tagging' with: [ spec requires: #( 'Famix' ) ];
package: 'Famix-Tagging-Code'
with: [ spec requires: #( 'FamixTraits' ) ];
package: 'Famix-Tagging-Tests-Generator'
with: [ spec requires: #( 'FamixGenerator' ) ];
package: 'Famix-Tagging-Tests-Entities'
with: [ spec requires: #( 'FamixTraits' ) ];
package: 'Famix-Tagging-Tests'
with: [ spec requires: #( 'FamixTestModels' ) ] ].
#( 'FamixTestModels' 'Famix-Tagging' 'Famix-Tagging-Code'
'Famix-Tagging-Tests-Entities' ) ].

"Groups"
spec
Expand Down

0 comments on commit a093a88

Please sign in to comment.