X Tutup
Skip to content

Commit 5120c51

Browse files
author
Johan Brichau
committed
Fix GRPackage packaging descriptions and tests
1 parent c4823c5 commit 5120c51

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

repository/Grease-Core.package/GRPackage.class/instance/resolveWith..st

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,20 @@ resolveWith: aDictionary
55
aDictionary at: each ifAbsent: [
66
"if Foo-Pharo-Bar fails try Foo-Pharo20-Bar and Foo-Pharo30-Bar"
77
(each indexOfSubCollection: '-Pharo-' startingAt: 1) ~= 0 ifTrue: [
8-
"try -Pharo20-"
9-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo20-') ifAbsent: [
10-
"try -Pharo30-"
11-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo30-') ifAbsent: [
12-
"try -Pharo40-"
13-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [
14-
"try -Pharo50-"
15-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [
16-
"try -Pharo60-"
17-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [
18-
"try -Pharo70-"
19-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [
20-
"try -Squeak-"
21-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [
22-
"try -Squeak5-"
23-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [
24-
"try -Squeak6-"
25-
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [
26-
self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ] ]
8+
"try -Pharo40-"
9+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo40-') ifAbsent: [
10+
"try -Pharo50-"
11+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo50-') ifAbsent: [
12+
"try -Pharo60-"
13+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo60-') ifAbsent: [
14+
"try -Pharo70-"
15+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo70-') ifAbsent: [
16+
"try -Pharo90-"
17+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Pharo90-') ifAbsent: [
18+
"try -Squeak-"
19+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak-') ifAbsent: [
20+
"try -Squeak5-"
21+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak5-') ifAbsent: [
22+
"try -Squeak6-"
23+
aDictionary at: (each copyReplaceAll: '-Pharo-' with: '-Squeak6-') ifAbsent: [
24+
self error: self name printString , ' depends on unknown package ' , each printString ] ] ] ] ] ] ] ] ] ] ]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*Grease-Pharo90-Core
22
greasePharo70Core
33
^ self new
4-
name: 'Grease-Pharo70-Core';
4+
name: 'Grease-Pharo90-Core';
55
addDependency: 'Grease-Core';
66
url: #greaseUrl;
77
yourself

repository/Grease-Pharo90-Slime.package/GRPackage.extension/class/greaseSlime.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*Grease-Pharo90-Slime
22
greaseSlime
33
^ self new
4-
name: 'Grease-Pharo40-Slime';
4+
name: 'Grease-Pharo90-Slime';
55
description: 'Code critis for Grease. Detects common types of bugs and non-portable code.';
66
addDependency: 'Grease-Core';
77
url: #seasideUrl;

0 commit comments

Comments
 (0)
X Tutup