/
BaselineOfChartJs.class.st
70 lines (61 loc) · 1.96 KB
/
BaselineOfChartJs.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
"
I am a baseline of ChartJs for Seaside. Read more at: https://github.com/DuneSt/ChartJs
"
Class {
#name : #BaselineOfChartJs,
#superclass : #BaselineOf,
#category : #BaselineOfChartJs
}
{ #category : #baseline }
BaselineOfChartJs >> baseline: spec [
<baseline>
spec
for: #common
do: [
"Dependencies"
self
seaside3: spec;
stylesheet: spec;
neoJSON: spec;
prism: spec.
"Packages"
spec
package: 'ChartJs-Core' with: [ spec requires: #('Seaside3' 'Stylesheet' 'NeoJSON') ];
package: 'ChartJs-Library' with: [ spec requires: #('Seaside3') ];
package: 'ChartJs-Demo' with: [ spec requires: #('ChartJs-Core' 'ChartJs-Library' 'PrismCodeDisplayer') ];
package: 'ChartJs-Core-Tests' with: [ spec requires: #('ChartJs-Core') ].
"Groups"
spec
group: 'all' with: #('default');
group: 'core' with: #('ChartJs-Core' 'ChartJs-Library');
group: 'core-without-library' with: #('ChartJs-Core');
group: 'default' with: #('core' 'demo' 'tests');
group: 'demo' with: #('ChartJs-Demo');
group: 'tests' with: #('ChartJs-Core-Tests') ]
]
{ #category : #dependencies }
BaselineOfChartJs >> neoJSON: spec [
spec baseline: 'NeoJSON' with: [ spec repository: 'github://svenvc/NeoJSON/repository' ]
]
{ #category : #dependencies }
BaselineOfChartJs >> prism: spec [
spec
baseline: 'PrismCodeDisplayer'
with: [ spec
repository: 'github://DuneSt/PrismCodeDisplayer:v1.x.x/src';
loads: 'core' ]
]
{ #category : #accessing }
BaselineOfChartJs >> projectClass [
^ [ self class environment at: #MetacelloCypressBaselineProject ]
on: NotFound
do: [ super projectClass ]
]
{ #category : #dependencies }
BaselineOfChartJs >> seaside3: spec [
spec baseline: 'Seaside3' with: [ spec repository: 'github://SeasideSt/Seaside:v3.4.x/repository' ]
]
{ #category : #dependencies }
BaselineOfChartJs >> stylesheet: spec [
spec baseline: 'Stylesheet' with: [ spec repository: 'github://pharo-contributions/Stylesheet:v1.x.x/src' ]
]