Skip to content

Commit

Permalink
[MetaC]: Change Strings to Symbols
Browse files Browse the repository at this point in the history
Wondering if that will cut down on image size when loaded. Tally showed many strings that seem Metacello-related
  • Loading branch information
seandenigris committed Aug 28, 2024
1 parent 5b41060 commit 474c908
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions source/BaselineOfMagritte/BaselineOfMagritte.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,97 +10,97 @@ BaselineOfMagritte >> baseline300ForGemStone: spec [
for: #gemstone
do: [
spec
project: 'GsCore'
project: #'GsCore'
with: [
spec
className: 'ConfigurationOfGsCore';
className: #'ConfigurationOfGsCore';
versionString: #bleedingEdge;
repository: 'http://seaside.gemstone.com/ss/MetacelloRepository' ].
spec
package: 'Magritte-Model'
package: #'Magritte-Model'
with: [
spec
requires: #('GsCore');
includes: #('Magritte-GemStone-Model') ];
package: 'Magritte-Tests-Model' with: [ spec includes: #('Magritte-Tests-GemStone-Model') ];
package: 'Magritte-Seaside' with: [ spec includes: #('Magritte-GemStone-Seaside') ];
package: 'Magritte-GemStone-Model' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Tests-GemStone-Model' with: [ spec requires: #('Magritte-GemStone-Model') ];
package: 'Magritte-GemStone-Seaside' with: [ spec requires: #('Magritte-Seaside') ] ]
requires: #(#'GsCore');
includes: #(#'Magritte-GemStone-Model') ];
package: #'Magritte-Tests-Model' with: [ spec includes: #('Magritte-Tests-GemStone-Model') ];
package: #'Magritte-Seaside' with: [ spec includes: #(#'Magritte-GemStone-Seaside') ];
package: #'Magritte-GemStone-Model' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Tests-GemStone-Model' with: [ spec requires: #(#'Magritte-GemStone-Model') ];
package: #'Magritte-GemStone-Seaside' with: [ spec requires: #(#'Magritte-Seaside') ] ]
]

{ #category : #baselines }
BaselineOfMagritte >> baseline310CommonExtDeps: spec [
"Common external dependencies for baseline 3.1.0"

spec
baseline: 'Grease' with: [ spec repository: 'github://SeasideSt/Grease:v1.18.0/repository' ];
baseline: 'Seaside3'
baseline: #'Grease' with: [ spec repository: 'github://SeasideSt/Grease:v1.18.0/repository' ];
baseline: #'Seaside3'
with: [ "note: we do not want to depend on Zinc, since this is not present in Squeak. Currently no adapter is loaded"
spec
repository: 'github://SeasideSt/Seaside:master/repository';
loads: #('Core') ]
loads: #(#'Core') ]
]

{ #category : #baselines }
BaselineOfMagritte >> baseline330ForPharo: spec [

spec for: #(#'pharo7.x' #'pharo8.x' #'pharo9.x' #'pharo10.x' #'pharo11.x' #'pharo12.x') do: [
spec
baseline: 'PharoEnhancements' with: [ spec repository: 'github://seandenigris/Pharo-Enhancements' ].
baseline: #'PharoEnhancements' with: [ spec repository: 'github://seandenigris/Pharo-Enhancements' ].
spec
package: 'Magritte-Developer' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-FileSystem' with: [ spec requires: #('Magritte-Model') ];
package: #'Magritte-Developer' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-FileSystem' with: [ spec requires: #(#'Magritte-Model') ];
" create a temporary alias "
package: 'Magritte-Pharo-Model' with: 'Magritte-Pharo7-Model';
package: 'Magritte-Tests-Files-Model' with: [ spec requires: #('Magritte-FileSystem') ];
package: 'Magritte-Tests-Model' with: [ spec includes: #('Magritte-Tests-Files-Model') ].
spec group: 'default' with: #('Magritte-Developer') ].
package: #'Magritte-Pharo-Model' with: #'Magritte-Pharo7-Model';
package: #'Magritte-Tests-Files-Model' with: [ spec requires: #(#'Magritte-FileSystem') ];
package: #'Magritte-Tests-Model' with: [ spec includes: #(#'Magritte-Tests-Files-Model') ].
spec group: #'default' with: #(#'Magritte-Developer') ].

spec for: #(#'pharo9.x') do: [
spec
package: 'Magritte-Pillar'
with: [ spec requires: #('Magritte-Model') "assumes Pillar is loaded, which is the case in P9 and GT before port to P10" ] ].
package: #'Magritte-Pillar'
with: [ spec requires: #(#'Magritte-Model') "assumes Pillar is loaded, which is the case in P9 and GT before port to P10" ] ].


spec for: #(#'pharo7.x' #'pharo8.x' #'pharo9.x') do: [
spec
package: 'Magritte-Glamour' with: [ spec requires: #('Magritte-Model' 'Magritte-Morph') ];
package: 'Magritte-GT' with: [ spec requires: #('Magritte-Morph' 'Magritte-Glamour') ] ].
package: #'Magritte-Glamour' with: [ spec requires: #(#'Magritte-Model' #'Magritte-Morph') ];
package: #'Magritte-GT' with: [ spec requires: #(#'Magritte-Morph' #'Magritte-Glamour') ] ].

spec for: #GToolkit do: [
spec
package: 'Magritte-Developer' with: [ spec includes: #('Magritte-GToolkit') ];
package: 'Magritte-GToolkit' with: [ spec requires: #('Magritte-Model' 'Magritte-UI') ];
package: 'Magritte-Merging-Bloc' with: [ spec requires: #('Magritte-Merging') ];
package: 'Magritte-UI' with: [ spec requires: #('Magritte-Model') ].
spec group: 'default' with: #(#'Magritte-GToolkit' 'Magritte-Merging-Bloc') ].
package: #'Magritte-Developer' with: [ spec includes: #(#'Magritte-GToolkit') ];
package: #'Magritte-GToolkit' with: [ spec requires: #(#'Magritte-Model' #'Magritte-UI') ];
package: #'Magritte-Merging-Bloc' with: [ spec requires: #(#'Magritte-Merging') ];
package: #'Magritte-UI' with: [ spec requires: #(#'Magritte-Model') ].
spec group: #'default' with: #(#'Magritte-GToolkit' #'Magritte-Merging-Bloc') ].
]

{ #category : #baselines }
BaselineOfMagritte >> baseline330ForSqueakCommon: spec [

spec for: #squeakCommon do: [
spec
package: 'Magritte-Bootstrap' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Deprecated3dot7' with: [ spec requires: #('Magritte-Model' 'Magritte-Morph') ];
package: 'Magritte-Merging' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Model' with: [ spec includes: #('Magritte-Pharo-Model') ];
package: 'Magritte-Money' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Morph' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Pharo-Model';
package: 'Magritte-Pharo-Seaside' with: [ spec requires: #('Magritte-Seaside') ];
package: 'Magritte-Pharo-Tools' with: [ spec requires: #('Magritte-Deprecated') ];
package: 'Magritte-Seaside' with: [ spec includes: #('Magritte-Pharo-Seaside') ];
package: 'Magritte-Tests-Model'.
package: #'Magritte-Bootstrap' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Deprecated3dot7' with: [ spec requires: #(#'Magritte-Model' #'Magritte-Morph') ];
package: #'Magritte-Merging' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Model' with: [ spec includes: #(#'Magritte-Pharo-Model') ];
package: #'Magritte-Money' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Morph' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Pharo-Model';
package: #'Magritte-Pharo-Seaside' with: [ spec requires: #(#'Magritte-Seaside') ];
package: #'Magritte-Pharo-Tools' with: [ spec requires: #(#'Magritte-Deprecated') ];
package: #'Magritte-Seaside' with: [ spec includes: #(#'Magritte-Pharo-Seaside') ];
package: #'Magritte-Tests-Model'.
spec
group: 'Tools' with: #('Magritte-Pharo-Tools');
group: 'default' with: #('Magritte-Morph') ].
group: #'Tools' with: #(#'Magritte-Pharo-Tools');
group: #'default' with: #(#'Magritte-Morph') ].

spec for: #notGToolkit do: [
spec
package: 'Magritte-Model' with: [ spec includes: #('Magritte-NotGToolkit') ];
package: 'Magritte-NotGToolkit' ]
package: #'Magritte-Model' with: [ spec includes: #(#'Magritte-NotGToolkit') ];
package: #'Magritte-NotGToolkit' ]
]

{ #category : #baselines }
Expand All @@ -114,23 +114,23 @@ BaselineOfMagritte >> baseline: spec [
spec description: 'For pharo4.x, add Magritte-GT package and add it to the default group'.
self baseline310CommonExtDeps: spec.
spec
package: 'Magritte-Model' with: [
package: #'Magritte-Model' with: [
spec
requires: #('Grease');
includes: #('Magritte-Deprecated3dot7') ];
package: 'Magritte-Deprecated3dot7' with: [ spec requires: #('Magritte-Model' 'Magritte-Morph') ];
package: 'Magritte-Tests-Model' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Tests-Files-Model' with: [ spec requires: #('Grease' 'Magritte-Tests-Model') ];
package: 'Magritte-Seaside' with: [ spec requires: #('Magritte-Model' 'Seaside3') ];
package: 'Magritte-Bootstrap' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Deprecated' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Merging' with: [ spec requires: #('Magritte-Model') ];
package: 'Magritte-Money' with: [ spec requires: #('Magritte-Model') ].
requires: #(#'Grease');
includes: #(#'Magritte-Deprecated3dot7') ];
package: #'Magritte-Deprecated3dot7' with: [ spec requires: #(#'Magritte-Model' #'Magritte-Morph') ];
package: #'Magritte-Tests-Model' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Tests-Files-Model' with: [ spec requires: #(#'Grease' #'Magritte-Tests-Model') ];
package: #'Magritte-Seaside' with: [ spec requires: #(#'Magritte-Model' #'Seaside3') ];
package: #'Magritte-Bootstrap' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Deprecated' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Merging' with: [ spec requires: #(#'Magritte-Model') ];
package: #'Magritte-Money' with: [ spec requires: #(#'Magritte-Model') ].
spec
group: 'Core' with: #('Magritte-Model');
group: 'Tests' with: #('Magritte-Tests-Files-Model');
group: 'Seaside' with: #('Magritte-Seaside');
group: 'Deprecated' with: #('Magritte-Deprecated') ].
group: #'Core' with: #(#'Magritte-Model');
group: #'Tests' with: #(#'Magritte-Tests-Files-Model');
group: #'Seaside' with: #(#'Magritte-Seaside');
group: #'Deprecated' with: #(#'Magritte-Deprecated') ].
self baseline330ForPharo: spec.
self baseline330ForSqueakCommon: spec.
self baseline300ForGemStone: spec
Expand Down

0 comments on commit 474c908

Please sign in to comment.