TiddlyWikiPharo/repository/BaselineOfTiddlyWikiPharo/BaselineOfTiddlyWikiPharo.class.st

49 lines
1.3 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.
self miniDocs: spec.
"Packages"
spec package: 'TiddlyWiki' with: [ spec requires: #('ZTimestamp' 'XMLParserHTML' 'MiniDocs') ]
]
]
{ #category : #accessing }
BaselineOfTiddlyWikiPharo >> miniDocs: spec [
| repo |
repo := ExoRepo new
repository: 'https://code.tupale.co/Offray/MiniDocs'.
repo load.
spec baseline: 'MiniDocs' with: [ spec repository: 'gitlocal://', repo local fullName ]
]
{ #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']
]