TiddlyWikiPharo/repository/BaselineOfTiddlyWikiPharo/BaselineOfTiddlyWikiPharo.class.st

39 lines
1.1 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.
spec baseline: 'Mustache' with: [ spec repository: 'github://noha/mustache/repository' ].
"Packages"
spec package: 'TiddlyWiki' with: [ spec requires: #('ZTimestamp' 'XMLParserHTML' 'Mustache') ]
]
]
{ #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']
]