Skip to content

Commit

Permalink
fix: force load SmalltalkCI in images that already contain it
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Sep 18, 2024
1 parent bb26ccf commit 0d9b005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gtoolkit/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ gtoolkit::load_project() {
(Metacello canUnderstand: #onConflictUseIncoming)
ifTrue: [ metacello onConflictUseIncoming ]
ifFalse: [ metacello onConflict: [ :ex | ex useIncoming ] ].
metacello load ]
[ metacello load ] on: MetacelloIgnorePackageLoaded do: [ :ex | ex resume: true ] ]
on: Warning
do: [ :w | w resume ].
smalltalkCI := Smalltalk at: #SmalltalkCI.
Expand Down Expand Up @@ -209,7 +209,7 @@ gtoolkit::test_project() {
(Metacello canUnderstand: #onConflictUseIncoming)
ifTrue: [ metacello onConflictUseIncoming ]
ifFalse: [ metacello onConflict: [ :ex | ex useIncoming ] ].
metacello load ]
[ metacello load ] on: MetacelloIgnorePackageLoaded do: [ :ex | ex resume: true ] ]
on: Warning
do: [ :w | w resume ].
Smalltalk at: #SmalltalkCI ].
Expand Down
4 changes: 2 additions & 2 deletions pharo/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pharo::load_project() {
(Metacello canUnderstand: #onConflictUseIncoming)
ifTrue: [ metacello onConflictUseIncoming ]
ifFalse: [ metacello onConflict: [ :ex | ex useIncoming ] ].
metacello load ]
[ metacello load ] on: MetacelloIgnorePackageLoaded do: [ :ex | ex resume: true ] ]
on: Warning
do: [ :w | w resume ].
smalltalkCI := Smalltalk at: #SmalltalkCI.
Expand Down Expand Up @@ -399,7 +399,7 @@ pharo::test_project() {
(Metacello canUnderstand: #onConflictUseIncoming)
ifTrue: [ metacello onConflictUseIncoming ]
ifFalse: [ metacello onConflict: [ :ex | ex useIncoming ] ].
metacello load ]
[ metacello load ] on: MetacelloIgnorePackageLoaded do: [ :ex | ex resume: true ] ]
on: Warning
do: [ :w | w resume ].
Smalltalk at: #SmalltalkCI ].
Expand Down

0 comments on commit 0d9b005

Please sign in to comment.