Skip to content

Commit

Permalink
Move abstract coordinates to OpenSmock.
Browse files Browse the repository at this point in the history
Add OpenSmock as a dependency.
  • Loading branch information
Pierre Laborde committed Dec 14, 2023
1 parent 82caf19 commit b75de9b
Show file tree
Hide file tree
Showing 9 changed files with 512 additions and 560 deletions.
120 changes: 62 additions & 58 deletions BaselineOfGeoTools/BaselineOfGeoTools.class.st
Original file line number Diff line number Diff line change
@@ -1,58 +1,62 @@
Class {
#name : #BaselineOfGeoTools,
#superclass : #BaselineOf,
#category : #BaselineOfGeoTools
}

{ #category : #baselines }
BaselineOfGeoTools >> baseline: spec [

<baseline>
"Common basline for all Pharo versions"
spec for: #common do: [ self baselineForCommon: spec ]
]

{ #category : #baselines }
BaselineOfGeoTools >> baselineForCommon: spec [
<baseline>

spec preLoadDoIt: #'preload:package:'.
spec postLoadDoIt: #'postload:package:'.

"Dependencies"
self coreDependencies: spec.

"Packages"
self corePackages: spec.
]

{ #category : #baselines }
BaselineOfGeoTools >> coreDependencies: spec [

spec
baseline: 'Units'
with: [ spec repository: 'github://zweidenker/Units' ].
]

{ #category : #baselines }
BaselineOfGeoTools >> corePackages: spec [

spec
package: 'GeoTools' with: [ spec requires: #('Units') ].

"tests packages"
spec
package: 'GeoTools-Tests' with: [ spec requires: #( 'GeoTools' ) ].
]

{ #category : #baselines }
BaselineOfGeoTools >> postload: loader package: packageSpec [

"do nothing"
]

{ #category : #baselines }
BaselineOfGeoTools >> preload: loader package: packageSpec [

"do nothing"
]
Class {
#name : #BaselineOfGeoTools,
#superclass : #BaselineOf,
#category : #BaselineOfGeoTools
}

{ #category : #baselines }
BaselineOfGeoTools >> baseline: spec [

<baseline>
"Common basline for all Pharo versions"
spec for: #common do: [ self baselineForCommon: spec ]
]

{ #category : #baselines }
BaselineOfGeoTools >> baselineForCommon: spec [
<baseline>

spec preLoadDoIt: #'preload:package:'.
spec postLoadDoIt: #'postload:package:'.

"Dependencies"
self coreDependencies: spec.

"Packages"
self corePackages: spec.
]

{ #category : #baselines }
BaselineOfGeoTools >> coreDependencies: spec [

spec
baseline: 'OpenSmock'
with: [ spec repository: 'github://OpenSmock/OpenSmock' ].

spec
baseline: 'Units'
with: [ spec repository: 'github://zweidenker/Units' ].
]

{ #category : #baselines }
BaselineOfGeoTools >> corePackages: spec [

spec
package: 'GeoTools' with: [ spec requires: #('Units') ].

"tests packages"
spec
package: 'GeoTools-Tests' with: [ spec requires: #( 'GeoTools' ) ].
]

{ #category : #baselines }
BaselineOfGeoTools >> postload: loader package: packageSpec [

"do nothing"
]

{ #category : #baselines }
BaselineOfGeoTools >> preload: loader package: packageSpec [

"do nothing"
]
2 changes: 1 addition & 1 deletion BaselineOfGeoTools/package.st
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Package { #name : #BaselineOfGeoTools }
Package { #name : #BaselineOfGeoTools }
Loading

0 comments on commit b75de9b

Please sign in to comment.