Skip to content

Commit

Permalink
Merge pull request #1 from OpenSmock/dev-refactoringCoordinates
Browse files Browse the repository at this point in the history
Move classes into OpenSmock
  • Loading branch information
labordep authored Dec 15, 2023
2 parents 82caf19 + d96a8dd commit e33deb8
Show file tree
Hide file tree
Showing 9 changed files with 599 additions and 593 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 loads: #('Core'); 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 e33deb8

Please sign in to comment.