TiddlyWikiPharo/repository/BaselineOfTiddlyWikiPharo/BaselineOfTiddlyWikiPharo.class.st

49 lines
1.3 KiB
Smalltalk
Raw Normal View History

2021-08-04 01:47:37 +00:00
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' ].
2022-01-12 01:13:34 +00:00
self xmlParserHTML: spec.
2022-07-24 20:50:32 +00:00
self miniDocs: spec.
"Packages"
2022-07-24 20:50:32 +00:00
spec package: 'TiddlyWiki' with: [ spec requires: #('ZTimestamp' 'XMLParserHTML' 'MiniDocs') ]
2021-08-04 01:47:37 +00:00
]
]
2022-07-24 20:50:32 +00:00
{ #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 ]
]
2021-08-04 01:47:37 +00:00
{ #category : #accessing }
BaselineOfTiddlyWikiPharo >> projectClass [
^ MetacelloCypressBaselineProject
]
2022-01-12 01:13:34 +00:00
{ #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 ];
2022-01-12 02:43:44 +00:00
onWarningLog;
2022-01-12 01:13:34 +00:00
load.
spec baseline: 'XMLParserHTML' with: [spec repository: 'github://pharo-contributions/XML-XMLParserHTML/src']
]