TiddlyWikiPharo/repository/BaselineOfTiddlyWikiPharo/BaselineOfTiddlyWikiPharo.class.st

38 lines
1.0 KiB
Smalltalk

Class {
#name : #BaselineOfTiddlyWikiPharo,
#superclass : #BaselineOf,
#category : #BaselineOfTiddlyWikiPharo
}
{ #category : #baselines }
BaselineOfTiddlyWikiPharo >> baseline: spec [
<baseline>
spec
for: #common
do: [
"Dependencies"
spec baseline: 'ZTimestamp' with: [ spec repository: 'github://svenvc/ztimestamp/repository' ].
self xmlParserHTML: spec.
"Packages"
spec package: 'TiddlyWiki' with: [ spec requires: #('ZTimestamp' 'XMLParserHTML') ]
]
]
{ #category : #accessing }
BaselineOfTiddlyWikiPharo >> projectClass [
^ MetacelloCypressBaselineProject
]
{ #category : #accessing }
BaselineOfTiddlyWikiPharo >> xmlParserHTML: spec [
Metacello new
baseline: 'XMLParserHTML';
repository: 'github://pharo-contributions/XML-XMLParserHTML/src';
onConflict: [ :ex | ex useLoaded ];
onUpgrade: [ :ex | ex useLoaded ];
onDowngrade: [ :ex | ex useLoaded ];
onWarningLog;
load.
spec baseline: 'XMLParserHTML' with: [spec repository: 'github://pharo-contributions/XML-XMLParserHTML/src']
]