Fossil/repository/BaselineOfFossil/BaselineOfFossil.class.st
2024-09-09 19:04:56 -05:00

38 lines
1.0 KiB
Smalltalk

"
I define the installation procedure for Fossil package support.
"
Class {
#name : #BaselineOfFossil,
#superclass : #BaselineOf,
#category : #BaselineOfFossil
}
{ #category : #baselines }
BaselineOfFossil >> baseline: spec [
<baseline>
spec
for: #common
do: [
"Dependencies"
"As NeoJSON is included in Pharo and GT, it is not declared as an extra dependency, so it uses the one already defined on the system"
spec
baseline: 'OSSubprocess' with: [ spec repository: 'github://pharo-contributions/OSSubprocess/repository']";
baseline: 'ProcessWrapper' with: [ spec repository: 'github://hernanmd/ProcessWrapper/repository' ]".
"Packages"
spec package: 'Fossil' with: [ spec requires: #('NeoJSON') ].
spec for: #(#'MacOS' #'Unix') do: [
spec package: 'Fossil' with: [ spec requires: #('OSSubprocess') ] ].
"spec for: #'Windows' do: [
spec package: 'Fossil' with: [ spec requires: #('ProcessWrapper') ] ]".
]
]
{ #category : #accessing }
BaselineOfFossil >> projectClass [
^ MetacelloCypressBaselineProject
]