Skip to content

Commit

Permalink
File out extension methods necessary for deserializing
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Jan 11, 2024
1 parent 9660b0c commit 92a7517
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies
extensionMethodCategoryDependencies
^ {#'*Squot-Mapper-Sound'}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"class" : {
"classDependencies" : "mad 1/11/2024 21:53",
"extensionMethodCategoryDependencies" : "mad 1/11/2024 22:45",
"named:ifAbsent:" : "mad 1/9/2024 18:46",
"newWithName:" : "mad 1/9/2024 19:06",
"register:" : "mad 1/9/2024 19:08",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
sar
fileOutAssetLoaderClass
^ String streamContents: [:stream |
^ String streamContents: [:stream | | extensionCategories |
(GitStandaloneAssetLoader classDependencies
sorted: [:a :b | b inheritsFrom: a])
do: [:each | each fileOutOn: stream]]
do: [:each | each fileOutOn: stream].
extensionCategories := GitStandaloneAssetLoader extensionMethodCategoryDependencies.
self class package externalClasses
select: [:each | each organization categories includesAnyOf: extensionCategories]
thenDo: [:class |
extensionCategories do: [:category |
class
fileOutCategory: category
on: stream
moveSource: false
toFile: 0]]]
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"encoding" : "mad 9/20/2023 18:39",
"encoding:" : "mad 9/20/2023 18:43",
"encodingName" : "mad 9/20/2023 19:02",
"fileOutAssetLoaderClass" : "mad 1/11/2024 21:47",
"fileOutAssetLoaderClass" : "mad 1/11/2024 22:26",
"hash" : "mad 9/20/2023 18:59",
"initialize" : "mad 9/20/2023 18:55",
"isGeneric" : "mad 10/21/2023 22:46",
Expand Down

0 comments on commit 92a7517

Please sign in to comment.