-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toplo with themes and skins #156
Changes from 19 commits
2fe28db
5b1a09e
c9b2977
6c725a3
0a60985
57c9158
87fe948
2cae76f
3430f1b
f3a26ac
0f8ff8c
db10af6
34eb94e
9f456a5
7a9e37a
8c72c82
d42c45b
4039638
17e641d
8a06cf9
f123047
91fbb26
e82127c
4e65b18
26cec4e
91ebe30
3bf8d9e
1f93199
483b67c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,36 +8,112 @@ Class { | |
BaselineOfPyramid >> baseline: spec [ | ||
|
||
<baseline> | ||
spec for: #common do: [ | ||
spec postLoadDoIt: #postload:package:. | ||
self dependencies: spec. | ||
spec | ||
package: #Pyramid; | ||
package: #'Pyramid-IDE' with: [ spec requires: #( #Pyramid ) ]; | ||
package: #'Pyramid-Bloc' | ||
with: [ spec requires: #( #Pyramid #Bloc #BlocSerialization ) ]; | ||
package: #'Pyramid-Tests' | ||
with: [ spec requires: #( #Pyramid #'Pyramid-Bloc' ) ]; | ||
package: #'Pyramid-Examples' | ||
with: [ spec requires: #( #Pyramid ) ]; | ||
package: #'Pyramid-IDE' with: [ spec requires: #( #Pyramid ) ] ] | ||
"Common baseline for all Pharo versions" | ||
spec for: #common do: [ self baselineForCommon: spec ] | ||
] | ||
|
||
{ #category : #baselines } | ||
BaselineOfPyramid >> dependencies: spec [ | ||
BaselineOfPyramid >> baselineForCommon: spec [ | ||
|
||
spec | ||
baseline: #Bloc | ||
with: [ | ||
spec repository: 'github://pharo-graphics/Bloc:dev-1.0/src' ]. | ||
spec | ||
baseline: #BlocSerialization | ||
with: [ | ||
spec repository: 'github://OpenSmock/Bloc-Serialization:main/src' ]. | ||
<baseline> | ||
spec preLoadDoIt: #preload:package:. | ||
spec postLoadDoIt: #postload:package:. | ||
|
||
"Dependencies" | ||
self blocDependencies: spec. | ||
self toploDependencies: spec. | ||
|
||
"Packages" | ||
self pyramidPackages: spec. | ||
self blocPackages: spec. | ||
self toploPackages: spec. | ||
|
||
"Groups" | ||
spec group: 'default' with: #( 'PyramidBloc' 'PyramidToplo' ). "complete version" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rename PyramidBloc->Bloc and PyramidToplo-> Toplo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oups seems not possible to do that :( |
||
spec group: 'PyramidBloc' with: self blocPackagesNames. "only Bloc" | ||
spec group: 'PyramidToplo' with: self toploPackagesNames "only Bloc and Toplo" | ||
] | ||
|
||
{ #category : #dependencies } | ||
BaselineOfPyramid >> blocDependencies: spec [ | ||
|
||
spec | ||
baseline: 'Bloc' | ||
with: [ spec repository: 'github://pharo-graphics/Bloc:dev-1.0/src' ]. | ||
spec | ||
baseline: 'BlocSerialization' | ||
with: [ | ||
spec repository: 'github://OpenSmock/Bloc-Serialization:main/src' ] | ||
] | ||
|
||
{ #category : #packages } | ||
BaselineOfPyramid >> blocPackages: spec [ | ||
|
||
spec | ||
package: 'Pyramid-Bloc' | ||
with: [ spec requires: #( 'Pyramid' 'Bloc' ) ]. | ||
spec | ||
package: 'Pyramid-Tests' | ||
with: [ spec requires: #( 'Pyramid-Bloc' ) ]. | ||
spec | ||
package: 'Pyramid-Examples' | ||
with: [ spec requires: #( 'Pyramid-Bloc' ) ] | ||
] | ||
|
||
{ #category : #packages } | ||
BaselineOfPyramid >> blocPackagesNames [ | ||
|
||
^ #( 'Pyramid' 'Pyramid-Bloc' 'Pyramid-Tests' 'Pyramid-IDE' 'Pyramid-Examples' ) | ||
] | ||
|
||
{ #category : #actions } | ||
BaselineOfPyramid >> postload: loader package: packageSpec [ | ||
|
||
PyramidPluginManager reset | ||
] | ||
|
||
{ #category : #actions } | ||
BaselineOfPyramid >> preload: loader package: packageSpec [ | ||
|
||
] | ||
|
||
{ #category : #packages } | ||
BaselineOfPyramid >> pyramidPackages: spec [ | ||
|
||
spec package: 'Pyramid'. | ||
spec | ||
package: 'Pyramid-IDE' | ||
with: [ spec requires: #( 'Pyramid' ) ]. | ||
|
||
] | ||
|
||
{ #category : #dependencies } | ||
BaselineOfPyramid >> toploDependencies: spec [ | ||
|
||
spec | ||
baseline: 'Toplo' | ||
with: [ spec repository: 'github://pharo-graphics/Toplo:main/src' ]. | ||
spec | ||
baseline: 'ToploSerialization' | ||
with: [ spec repository: 'github://OpenSmock/Toplo-Serialization:main/src' ] | ||
] | ||
|
||
{ #category : #packages } | ||
BaselineOfPyramid >> toploPackages: spec [ | ||
|
||
spec | ||
package: 'Pyramid-Toplo' | ||
with: [ spec requires: #( 'Toplo' 'ToploSerialization' 'Pyramid-Bloc' ) ]. | ||
spec | ||
package: 'Pyramid-Toplo-Tests' | ||
with: [ spec requires: #( 'Pyramid-Toplo' ) ]. | ||
spec | ||
package: 'Pyramid-Toplo-Examples' | ||
with: [ spec requires: #( 'Pyramid-Toplo' ) ] | ||
] | ||
|
||
{ #category : #packages } | ||
BaselineOfPyramid >> toploPackagesNames [ | ||
|
||
^ #( 'PyramidBloc' 'Pyramid-Toplo' 'Pyramid-Toplo-Tests' 'Pyramid-Toplo-Examples' ) | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Class { | ||
#name : #PyramidOpenFromSpacePlugin, | ||
#superclass : #Object, | ||
#traits : 'TPyramidPlugin', | ||
#classTraits : 'TPyramidPlugin classTrait', | ||
#instVars : [ | ||
'extensions' | ||
], | ||
#category : #'Pyramid-Bloc-plugin-edit-on-running' | ||
} | ||
|
||
{ #category : #adding } | ||
PyramidOpenFromSpacePlugin >> addExtension: anExtension [ | ||
|
||
self extensions add: anExtension | ||
] | ||
|
||
{ #category : #accessing } | ||
PyramidOpenFromSpacePlugin >> extensions [ | ||
|
||
^ extensions | ||
] | ||
|
||
{ #category : #accessing } | ||
PyramidOpenFromSpacePlugin >> initialize [ | ||
|
||
extensions := OrderedCollection new. | ||
] | ||
|
||
{ #category : #adding } | ||
PyramidOpenFromSpacePlugin >> removeExetension: anExtension [ | ||
|
||
self extensions remove: anExtension | ||
] |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Haha, do you have the problem on your PC ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for this new baseline.
I don't think this is usefull to have separate version because users have to use Toplo... however if we succeed to execute CI in these two baselines it is a good practice to have a better architecture.