Skip to content

Commit

Permalink
script will use Pharo 12 + update preLoading
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Feb 24, 2024
1 parent 45cf9b6 commit e8d4eb5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 24 deletions.
15 changes: 7 additions & 8 deletions preLoading.st
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"This is temporal until we fix the Pharo10 build"
IceRepository registry
detect: [ :each | each name = 'Microdown' ]
ifFound: [ :aRepository | aRepository forget ].
"This, however, needs to stay :)"
#( 'BaselineOfMicrodownDev' 'BaselineOfMicrodown' 'Microdown' 'Microdown-Tests' 'Microdown-ResolvePath' 'Microdown-ResolvePath-Tests' ) do: [ :each |
(RPackageOrganizer default packageNamed: each ifAbsent: [ nil ])
ifNotNil: [ :aPackage | aPackage removeFromSystem ] ]
#( 'Microdown' 'BeautifulComments' 'DocumentBrowser' ) do: [ :name |
(IceRepository repositoryNamed: name)
ifNil: [ self inform: 'Project not found: ' , name ]
ifNotNil: [ :found |
found
unload;
forget ] ]
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function get_platform_identifier() {
# Set magic variables for current file & dir
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
__builddir="$(pwd)/build"
PHARO_VERSION="${PHARO_VERSION:-110}"
PHARO_VERSION="${PHARO_VERSION:-120}"
PHARO="./pharo Pharo.image --no-default-preferences"

rm -rf "${__builddir}" && mkdir -p "${__builddir}" && cd "${__builddir}"
Expand Down
23 changes: 8 additions & 15 deletions scripts/unload_md.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ IceRepository registry
ifFound: [ :aRepository | aRepository forget ].

"This, however, needs to stay :)"
#(
'BaselineOfMicrodown'
'Microdown'
'Microdown-Calypso'
'Microdown-Pillar'
'Microdown-Pillar-Tests'
'Microdown-RichTextComposer'
'Microdown-Tests'
'BaselineOfPillar'
'Pillar-Core'
'Pillar-ExporterRichText'
) do: [ :each |
(RPackageOrganizer default packageNamed: each ifAbsent: [ nil ])
ifNotNil: [ :aPackage | aPackage removeFromSystem ] ]

#( 'Microdown' 'BeautifulComments' 'DocumentBrowser' ) do: [ :name |
(IceRepository repositoryNamed: name)
ifNil: [ self inform: 'Project not found: ' , name ]
ifNotNil: [ :found |
found
unload;
forget ] ]

0 comments on commit e8d4eb5

Please sign in to comment.