2020-07-14 15:58:03 +00:00
|
|
|
Class {
|
|
|
|
#name : #BaselineOfGrafoscopio,
|
|
|
|
#superclass : #BaselineOf,
|
|
|
|
#category : #BaselineOfGrafoscopio
|
|
|
|
}
|
|
|
|
|
|
|
|
{ #category : #baselines }
|
|
|
|
BaselineOfGrafoscopio >> baseline: spec [
|
|
|
|
<baseline>
|
|
|
|
|
|
|
|
spec
|
|
|
|
for: #common
|
|
|
|
do: [
|
|
|
|
|
|
|
|
"Dependencies"
|
2020-07-18 18:47:11 +00:00
|
|
|
self fossil: spec.
|
2020-07-14 15:58:03 +00:00
|
|
|
spec
|
|
|
|
package: 'Spec-Glamour'
|
|
|
|
with: [ spec repository: 'http://smalltalkhub.com/mc/jfabry/Playgroudn/main/' ].
|
|
|
|
|
|
|
|
"Packages"
|
2020-07-18 18:47:11 +00:00
|
|
|
self grafoscopioUtils: spec.
|
|
|
|
spec
|
2020-07-14 15:58:03 +00:00
|
|
|
package: 'Grafoscopio' with: [ spec requires: #('Grafoscopio-Utils' 'Spec-Glamour' ) ]
|
|
|
|
]
|
|
|
|
|
|
|
|
]
|
2020-07-18 18:47:11 +00:00
|
|
|
|
|
|
|
{ #category : #'as yet unclassified' }
|
|
|
|
BaselineOfGrafoscopio >> grafoscopioUtils: spec [
|
|
|
|
"I load the configuration of this package using a external Gitea repository."
|
|
|
|
"While more Git independient providers are implemented in Monticello, I will use Iceberg
|
|
|
|
to download the repository and load it from a local directory"
|
|
|
|
|
|
|
|
| location |
|
|
|
|
location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'GrafoscopioUtils'.
|
|
|
|
(IceRepositoryCreator new
|
|
|
|
location: location;
|
|
|
|
remote: (IceGitRemote url: 'https://code.tupale.co/Offray/GrafoscopioUtils.git');
|
|
|
|
createRepository)
|
|
|
|
register.
|
|
|
|
|
|
|
|
Metacello new
|
|
|
|
repository: 'gitlocal://', location fullName;
|
|
|
|
load.
|
|
|
|
spec project: 'Grafoscopio-Utils' with: [ spec requires: #('Fossil') ].
|
|
|
|
]
|