Skip to content

Commit

Permalink
taking into account that some microdown packages are not from the mic…
Browse files Browse the repository at this point in the history
…rorepo.
  • Loading branch information
Ducasse committed Jul 19, 2024
1 parent a3ae14b commit f79b643
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/BaselineOfMicrodown/BaselineOfMicrodown.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,19 @@ BaselineOfMicrodown >> preload: loader package: packageSpec [
unload;
forget ] ]"

(PackageOrganizer default packages select: [ :each | each name beginsWith: 'Microdown' ])
do: [ :each | each removeFromSystem ]
| packagesToUnload |
packagesToUnload := ((PackageOrganizer default packages
select: [ :each | each name beginsWith: 'Microdown' ]) collect: [ :each | each name ]) reject:
[ :each |
#('Microdown-RichTextPresenter' 'Microdown-RichTextPresenter-Tests') includes: each ].
"these two are not managed by the microdown repo but the documentation.
I should rename them in the future to avoid confusion"

packagesToUnload do:
[ :each | ((IceRepository repositoryNamed: 'Microdown')
packageNamed: each) unload ]


]

{ #category : 'external projects' }
Expand Down

0 comments on commit f79b643

Please sign in to comment.