Skip to content

Commit

Permalink
Changes to postLoad scripts so that deplyment / development can coexist
Browse files Browse the repository at this point in the history
  • Loading branch information
ytsejam78 committed Nov 27, 2023
1 parent 1a8be31 commit 948dcdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion rowan/components/scripts/deploymentPostLoad.st
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ symbolDictionary := Rowan image
ifAbsent: [Error signal: 'Kepler symbol dictionary missing' ].

"Global variables definition"
symbolDictionary at: #SystemInterfaces put: Namespace new.
symbolDictionary
at: #SystemInterfaces
ifPresent: [:namespace | namespace ifNil: [symbolDictionary at: #SystemInterfaces put: Namespace new]]
ifAbsentPut: [Namespace new "anyway, should never happen because preload script defines it"].

"Register Kepler's built-in system interfaces"
(OrderedCollection new
Expand Down
5 changes: 4 additions & 1 deletion rowan/components/scripts/developmentPostLoad.st
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ symbolDictionary := Rowan image
ifAbsent: [Error signal: 'Kepler symbol dictionary missing' ].

"Global variables definition"
symbolDictionary at: #SystemInterfaces put: Namespace new.
symbolDictionary
at: #SystemInterfaces
ifPresent: [:namespace | namespace ifNil: [symbolDictionary at: #SystemInterfaces put: Namespace new]]
ifAbsentPut: [Namespace new "anyway, should never happen because preload script defines it"].

"Register Kepler's built-in system interfaces"
(OrderedCollection new
Expand Down

0 comments on commit 948dcdc

Please sign in to comment.