From 28895669ec34f1f4d3d19d7d45f73884b5973206 Mon Sep 17 00:00:00 2001 From: Patrick R Date: Tue, 15 Jun 2021 20:28:44 +0200 Subject: [PATCH 1/5] updates prepare image script to use bpexamples instead of bpactiveexamples --- scripts/prepare_image.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare_image.st b/scripts/prepare_image.st index 39edeb19..1433d67e 100644 --- a/scripts/prepare_image.st +++ b/scripts/prepare_image.st @@ -43,7 +43,7 @@ Take a screenshot {#BPSearchCollection . #BPEuropeanFlag . #BPEuropeanFlagStar} do: [:className | (Smalltalk at: className) methodsDo: [:m | m bpRecompile]]. ((Smalltalk at: #BPSearchCollection)>>#binarySearch:) bpExamples do: [:e | e isActive: true]. -(Smalltalk at: #BPActiveExamples) value runActiveExamples. +(Smalltalk at: #BPExamples) value runActiveExamples. "Second, set up the stage and take the screenshot" browserWindow := (ToolSet default browse: (Smalltalk at: #BPSearchCollection) selector: #binarySearch:) containingWindow. From 84c20a20e94399f98a5e662c2c862187815c459b Mon Sep 17 00:00:00 2001 From: Patrick R Date: Fri, 22 Jul 2022 22:15:58 +0200 Subject: [PATCH 2/5] Fixes a typo in the build scripts --- scripts/build_image.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_image.sh b/scripts/build_image.sh index 235d8cd5..4ccf38f0 100755 --- a/scripts/build_image.sh +++ b/scripts/build_image.sh @@ -32,9 +32,9 @@ wget --no-verbose http://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22 tar xvf Squeak6.0-22104-64bit-202206021410-Linux-x64.tar.gz mv Squeak6.0-22104-64bit-202206021410-Linux-x64 Squeak-6.0 -mv Squeak-trunk/shared/*.image "${DEPLOY_IMAGE}" -mv Squeak-trunk/shared/*.changes "${DEPLOY_CHANGES}" -mv Squeak-trunk/shared/SqueakV60.sources . +mv Squeak6.0-22104-64bit-202206021410-Linux-x64/shared/*.image "${DEPLOY_IMAGE}" +mv Squeak6.0-22104-64bit-202206021410-Linux-x64/shared/*.changes "${DEPLOY_CHANGES}" +mv Squeak6.0-22104-64bit-202206021410-Linux-x64/shared/SqueakV60.sources . print_info "Preparing image..." EXIT_STATUS=0 From 5cea7d24af2d52b71bc10df863480503aac5dfea Mon Sep 17 00:00:00 2001 From: Patrick R Date: Fri, 22 Jul 2022 22:21:14 +0200 Subject: [PATCH 3/5] Fixes yet another typo in the build script --- scripts/build_image.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_image.sh b/scripts/build_image.sh index 4ccf38f0..64520049 100755 --- a/scripts/build_image.sh +++ b/scripts/build_image.sh @@ -32,9 +32,9 @@ wget --no-verbose http://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22 tar xvf Squeak6.0-22104-64bit-202206021410-Linux-x64.tar.gz mv Squeak6.0-22104-64bit-202206021410-Linux-x64 Squeak-6.0 -mv Squeak6.0-22104-64bit-202206021410-Linux-x64/shared/*.image "${DEPLOY_IMAGE}" -mv Squeak6.0-22104-64bit-202206021410-Linux-x64/shared/*.changes "${DEPLOY_CHANGES}" -mv Squeak6.0-22104-64bit-202206021410-Linux-x64/shared/SqueakV60.sources . +mv Squeak6.0/shared/*.image "${DEPLOY_IMAGE}" +mv Squeak6.0/shared/*.changes "${DEPLOY_CHANGES}" +mv Squeak6.0/shared/SqueakV60.sources . print_info "Preparing image..." EXIT_STATUS=0 From 037088450583331795a28c919f9e9d7392f00d5f Mon Sep 17 00:00:00 2001 From: Patrick R Date: Fri, 22 Jul 2022 22:23:37 +0200 Subject: [PATCH 4/5] Yet another typo (it is late) --- scripts/build_image.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_image.sh b/scripts/build_image.sh index 64520049..d80a9b64 100755 --- a/scripts/build_image.sh +++ b/scripts/build_image.sh @@ -32,9 +32,9 @@ wget --no-verbose http://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22 tar xvf Squeak6.0-22104-64bit-202206021410-Linux-x64.tar.gz mv Squeak6.0-22104-64bit-202206021410-Linux-x64 Squeak-6.0 -mv Squeak6.0/shared/*.image "${DEPLOY_IMAGE}" -mv Squeak6.0/shared/*.changes "${DEPLOY_CHANGES}" -mv Squeak6.0/shared/SqueakV60.sources . +mv Squeak-6.0/shared/*.image "${DEPLOY_IMAGE}" +mv Squeak-6.0/shared/*.changes "${DEPLOY_CHANGES}" +mv Squeak-6.0/shared/SqueakV60.sources . print_info "Preparing image..." EXIT_STATUS=0 From 7d0ecc66d5e9a341d6fa4e908545615cb3b2663b Mon Sep 17 00:00:00 2001 From: Patrick R Date: Fri, 22 Jul 2022 22:26:45 +0200 Subject: [PATCH 5/5] typo in build script, progress by blundering --- scripts/build_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_image.sh b/scripts/build_image.sh index d80a9b64..6303ea97 100755 --- a/scripts/build_image.sh +++ b/scripts/build_image.sh @@ -38,7 +38,7 @@ mv Squeak-6.0/shared/SqueakV60.sources . print_info "Preparing image..." EXIT_STATUS=0 -Squeak-trunk/bin/squeak $COG_VM_PARAM "${DEPLOY_IMAGE}" "../scripts/prepare_image.st" || EXIT_STATUS=$? +Squeak-6.0/bin/squeak $COG_VM_PARAM "${DEPLOY_IMAGE}" "../scripts/prepare_image.st" || EXIT_STATUS=$? if [[ $EXIT_STATUS -eq 0 ]]; then zip "${DEPLOY_PACKAGE}" *.image *.changes *.sources