Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create allPackageNames.st #644

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ classesFrom: aDictionary
commandLineHandler addPackagesMatching: each to: packages ].
packages do: [ :each |
| package |
package := (Smalltalk at: #RPackageOrganizer) default packageNamed: each.
classes addAll: package definedClasses ] ].
package := self
packageNamed: each
ifAbsent: [ nil ].
package ifNotNil: [
classes addAll: package definedClasses ] ] ].

^ classes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class organization
allPackageNames
^ (Smalltalk globals at: #PackageOrganizer) default packageNames
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
compatibility
codeCoverageClass

^ Smalltalk at: #SCIPharo13CodeCoverage
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class organization
packageNamed: aString ifAbsent: errorBlock
^ (Smalltalk at: #PackageOrganizer) default packageNamed: aString ifAbsent: errorBlock
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"class" : {
"allPackageNames" : "MaxLeske 6/11/2024 20:01",
"codeCoverageClass" : "MaxLeske 4/29/2024 19:25",
"packageNamed:ifAbsent:" : "MaxLeske 6/11/2024 20:01",
"isPlatformCompatible" : "MaxLeske 4/29/2024 19:25"},
"instance" : {
} }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
compatibility
packageNameForClass: aClass
^ ((Smalltalk at: #PackageOrganizer) default packageOf: aClass) name
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"commentStamp" : "",
"super" : "SCIPharo12CodeCoverage",
"category" : "SmalltalkCI-Pharo-Coverage-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"name" : "SCIPharo13CodeCoverage",
"type" : "normal"
}