forked from gcotelli/RenoirSt
-
Notifications
You must be signed in to change notification settings - Fork 7
/
BaselineOfRenoirSt.class.st
86 lines (71 loc) · 2.58 KB
/
BaselineOfRenoirSt.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"
Metacello Baseline definition for RenoirSt
"
Class {
#name : #BaselineOfRenoirSt,
#superclass : #BaselineOf,
#category : 'BaselineOfRenoirSt'
}
{ #category : #baselines }
BaselineOfRenoirSt >> baseline: spec [
<baseline>
spec
for: #pharo
do: [ self
setUpDependencies: spec;
baselineRenoirSt: spec;
baselineSeasideExtensions: spec.
spec
group: 'CI' with: 'Tests';
group: 'Tools' with: 'Buoy-Tools';
group: 'Development' with: #('Tests' 'Tools')
]
]
{ #category : #private }
BaselineOfRenoirSt >> baselineRenoirSt: spec [
spec
package: 'RenoirSt' with: [ spec requires: 'Buoy-Deployment' ];
group: 'Deployment' with: 'RenoirSt';
package: 'RenoirSt-HTML' with: [ spec requires: 'RenoirSt' ];
group: 'Deployment' with: 'RenoirSt-HTML';
package: 'RenoirSt-Tests' with: [ spec requires: #('RenoirSt' 'Buoy-SUnit') ];
group: 'Tests' with: 'RenoirSt-Tests';
package: 'RenoirSt-HTML-Tests' with: [ spec requires: #('RenoirSt-HTML' 'RenoirSt-Tests') ];
group: 'Tests' with: 'RenoirSt-HTML-Tests'.
spec
for: #UnitsIsLoaded
do: [ "Compatibility with the Units project"
spec
package: 'RenoirSt-UnitsCompatibility' with: [ spec requires: 'RenoirSt' ];
group: 'Deployment' with: 'RenoirSt-UnitsCompatibility'
]
]
{ #category : #private }
BaselineOfRenoirSt >> baselineSeasideExtensions: spec [
spec
package: 'RenoirSt-Seaside' with: [ spec requires: #('Deployment' 'Seaside3-Javascript') ];
group: 'Deployment-Seaside-Extensions' with: 'RenoirSt-Seaside';
package: 'RenoirSt-Seaside-Tests' with: [ spec requires: #('RenoirSt-Seaside' 'Tests') ];
group: 'Development-Seaside-Extensions'
with: #('Development' 'Deployment-Seaside-Extensions' 'RenoirSt-Seaside-Tests')
]
{ #category : #private }
BaselineOfRenoirSt >> customProjectAttributes [
Smalltalk globals at: #UnitValue ifPresent: [ :class | ^ #(#UnitsIsLoaded) ].
^ super customProjectAttributes
]
{ #category : #accessing }
BaselineOfRenoirSt >> projectClass [
^ MetacelloCypressBaselineProject
]
{ #category : #private }
BaselineOfRenoirSt >> setUpDependencies: spec [
spec
baseline: 'Buoy' with: [ spec repository: 'github://ba-st/Buoy:v5/source' ];
project: 'Buoy-Deployment' copyFrom: 'Buoy' with: [ spec loads: 'Deployment' ];
project: 'Buoy-SUnit' copyFrom: 'Buoy' with: [ spec loads: 'Dependent-SUnit-Extensions' ];
project: 'Buoy-Tools' copyFrom: 'Buoy' with: [ spec loads: 'Tools' ].
spec
baseline: 'Seaside3' with: [ spec repository: 'github://SeasideSt/Seaside:v3.3.x/repository' ];
project: 'Seaside3-Javascript' copyFrom: 'Seaside3' with: [ spec loads: 'Javascript' ]
]