Fixing new dependencies declaration.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-01-11 20:13:34 -05:00
parent 1492c20b7c
commit c31a5f5ccf

View File

@ -12,14 +12,7 @@ BaselineOfTiddlyWikiPharo >> baseline: spec [
do: [ do: [
"Dependencies" "Dependencies"
spec baseline: 'ZTimestamp' with: [ spec repository: 'github://svenvc/ztimestamp/repository' ]. spec baseline: 'ZTimestamp' with: [ spec repository: 'github://svenvc/ztimestamp/repository' ].
spec baseline: 'XMLParserHTML' with: [ self xmlParserHTML: spec.
spec
repository: 'github://pharo-contributions/XML-XMLParserHTML/src';
onConflict: [ :ex | ex useLoaded ];
onUpgrade: [ :ex | ex useLoaded ];
onDowngrade: [ :ex | ex useLoaded ]
].
"Packages" "Packages"
spec package: 'TiddlyWiki' with: [ spec requires: #('ZTimestamp' 'XMLParserHTML') ] spec package: 'TiddlyWiki' with: [ spec requires: #('ZTimestamp' 'XMLParserHTML') ]
] ]
@ -29,3 +22,15 @@ BaselineOfTiddlyWikiPharo >> baseline: spec [
BaselineOfTiddlyWikiPharo >> projectClass [ BaselineOfTiddlyWikiPharo >> projectClass [
^ MetacelloCypressBaselineProject ^ 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 ];
load.
spec baseline: 'XMLParserHTML' with: [spec repository: 'github://pharo-contributions/XML-XMLParserHTML/src']
]