-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #261: add some class-side methods, so that the scripts can be i…
…nvoked from within the image [ci skip]
- Loading branch information
1 parent
d9b504d
commit 2d15096
Showing
7 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...evkit_launcher-Scripts.package/GdkL_CopyScriptClasses.class/class/copyFileTreeToTonel..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
actions | ||
copyFileTreeToTonel: classNames | ||
"self copyFileTreeToTonel: #('GdkL_CopyScriptClasses' 'GdkL_Error' 'GdkL-Hello')" | ||
|
||
^ self new | ||
classNames: classNames; | ||
write: 'tonel'; | ||
main |
5 changes: 5 additions & 0 deletions
5
...devkit_launcher-Scripts.package/GdkL_CopyScriptClasses.class/class/copyFileTreeToTonel.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
actions | ||
copyFileTreeToTonel | ||
"self copyFileTreeToTonel" | ||
|
||
^ self copyFileTreeToTonel: self defaultClassNames |
8 changes: 8 additions & 0 deletions
8
...evkit_launcher-Scripts.package/GdkL_CopyScriptClasses.class/class/copyTonelToFiletree..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
actions | ||
copyTonelToFiletree: classNames | ||
"self copyTonelToFiletree: #('GdkL_CopyScriptClasses' 'GdkL_Error' 'GdkL-Hello')" | ||
|
||
^ self new | ||
classNames: classNames; | ||
write: 'filetree'; | ||
main |
5 changes: 5 additions & 0 deletions
5
...devkit_launcher-Scripts.package/GdkL_CopyScriptClasses.class/class/copyTonelToFiletree.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
actions | ||
copyTonelToFiletree | ||
"self copyTonelToFiletree" | ||
|
||
^ self copyTonelToFiletree: self defaultClassNames |
3 changes: 3 additions & 0 deletions
3
...gsdevkit_launcher-Scripts.package/GdkL_CopyScriptClasses.class/class/defaultClassNames.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
private | ||
defaultClassNames | ||
^ #('GdkL_CopyScriptClasses' 'GdkL_Error' 'GdkL_Hello') |
3 changes: 3 additions & 0 deletions
3
...rc/gsdevkit_launcher-Scripts.package/GdkL_CopyScriptClasses.class/instance/classNames..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
classNames: classNames | ||
args := classNames |