MiniDocs/src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st

49 lines
1.3 KiB
Smalltalk
Raw Normal View History

2022-05-15 04:04:04 +00:00
Class {
#name : #BaselineOfMiniDocs,
#superclass : #BaselineOf,
#category : #BaselineOfMiniDocs
}
{ #category : #accessing }
BaselineOfMiniDocs >> baseline: spec [
<baseline>
spec
for: #common
do: [
2022-06-10 01:30:37 +00:00
"Dependencies"
spec
baseline: 'Mustache' with: [ spec repository: 'github://noha/mustache' ];
2023-04-04 14:23:20 +00:00
baseline: 'Tealight' with: [ spec repository: 'github://astares/Tealight:main/src' ];
baseline: 'PetitParser' with: [
spec
loads: #('Minimal' 'Islands');
2023-04-04 14:23:20 +00:00
repository: 'github://moosetechnology/PetitParser:v3.x.x/src'
].
"self xmlParserHTML: spec."
2022-05-15 04:04:04 +00:00
"Packages"
spec
2023-04-04 14:45:49 +00:00
package: 'MiniDocs' with: [ spec requires: #('Mustache' 'Tealight' "'XMLParserHTML'") ];
package: 'PetitMarkdown' with: [ spec requires: #('PetitParser')]
2022-05-15 04:04:04 +00:00
].
spec
2022-06-10 01:30:37 +00:00
2022-05-15 04:04:04 +00:00
]
{ #category : #accessing }
BaselineOfMiniDocs >> semanticVersion [
^ '0.2.0'
]
{ #category : #accessing }
BaselineOfMiniDocs >> 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']
]