837
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
831
|
3 |
"{ Package: 'stx:libscm/gitHub' }"
|
|
4 |
|
|
5 |
"{ NameSpace: Smalltalk }"
|
|
6 |
|
|
7 |
LibraryDefinition subclass:#stx_libscm_gitHub
|
|
8 |
instanceVariableNames:''
|
|
9 |
classVariableNames:''
|
|
10 |
poolDictionaries:''
|
|
11 |
category:'* Projects & Packages *'
|
|
12 |
!
|
|
13 |
|
837
|
14 |
!stx_libscm_gitHub class methodsFor:'documentation'!
|
|
15 |
|
|
16 |
documentation
|
|
17 |
"
|
|
18 |
Package documentation:
|
|
19 |
|
|
20 |
hacks to allow squeak/pharo packages on guthub to be loaded
|
|
21 |
(i.e. converted to a changeset).
|
|
22 |
|
|
23 |
Notice: does not support downloading the package;
|
|
24 |
so you must fetch the master-zip first, unzip, then get the package(s).
|
|
25 |
|
|
26 |
[author:]
|
|
27 |
cg
|
|
28 |
|
|
29 |
[primary maintainer:]
|
|
30 |
cg
|
|
31 |
"
|
|
32 |
! !
|
831
|
33 |
|
|
34 |
!stx_libscm_gitHub class methodsFor:'description'!
|
|
35 |
|
|
36 |
excludedFromPreRequisites
|
|
37 |
"obsolete; temporarily, this is still called for, but will eventually vanish.
|
|
38 |
|
|
39 |
List packages which are to be explicitely excluded from the automatic constructed
|
|
40 |
prerequisites lists (both).
|
|
41 |
If empty, everything that is found along the inheritance of any of
|
|
42 |
my classes is considered to be a prerequisite package."
|
|
43 |
|
|
44 |
^ #(
|
|
45 |
)
|
|
46 |
!
|
|
47 |
|
|
48 |
mandatoryPreRequisites
|
|
49 |
"list packages which are mandatory as a prerequisite.
|
|
50 |
This are packages containing superclasses of my classes and classes which
|
|
51 |
are extended by myself.
|
|
52 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling.
|
|
53 |
This method is generated automatically,
|
|
54 |
by searching along the inheritance chain of all of my classes.
|
|
55 |
Please take a look at the #referencedPreRequisites method as well."
|
|
56 |
|
|
57 |
^ #(
|
|
58 |
#'stx:libbasic' "LibraryDefinition - superclass of stx_libscm_gitHub"
|
|
59 |
)
|
|
60 |
!
|
|
61 |
|
|
62 |
referencedPreRequisites
|
|
63 |
"list packages which are a prerequisite, because they contain
|
|
64 |
classes which are referenced by my classes.
|
|
65 |
These packages are NOT needed as a prerequisite for compiling or loading,
|
|
66 |
however, a class from it may be referenced during execution and having it
|
|
67 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
|
|
68 |
includes explicit checks for the package being present.
|
|
69 |
This method is generated automatically,
|
|
70 |
by searching all classes (and their packages) which are referenced by my classes.
|
|
71 |
Please also take a look at the #mandatoryPreRequisites method"
|
|
72 |
|
|
73 |
^ #(
|
|
74 |
#'stx:goodies/communication' "JSONReader - referenced by GitHubSmalltalkClassReader>>readClass"
|
|
75 |
#'stx:libbasic3' "ChangeSet - referenced by GitHubSmalltalkClassReader>>addChange:"
|
|
76 |
#'stx:libcomp' "Parser - referenced by GitHubSmalltalkClassReader>>readMethodFrom:forClassNamed:"
|
|
77 |
)
|
|
78 |
!
|
|
79 |
|
|
80 |
subProjects
|
|
81 |
"list packages which are known as subprojects.
|
|
82 |
The generated makefile will enter those and make there as well.
|
|
83 |
However: they are not forced to be loaded when a package is loaded;
|
|
84 |
for those, redefine #referencedPrerequisites or #mandatoryPreRequisites."
|
|
85 |
|
|
86 |
^ #(
|
|
87 |
)
|
|
88 |
! !
|
|
89 |
|
|
90 |
!stx_libscm_gitHub class methodsFor:'description - contents'!
|
|
91 |
|
|
92 |
classNamesAndAttributes
|
|
93 |
"lists the classes which are to be included in the project.
|
|
94 |
Each entry in the list may be: a single class-name (symbol),
|
|
95 |
or an array-literal consisting of class name and attributes.
|
|
96 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
97 |
|
|
98 |
^ #(
|
|
99 |
"<className> or (<className> attributes...) in load order"
|
|
100 |
GitHubSmalltalkClassReader
|
|
101 |
GitHubSmalltalkPackageReader
|
|
102 |
#'stx_libscm_gitHub'
|
|
103 |
)
|
|
104 |
!
|
|
105 |
|
|
106 |
extensionMethodNames
|
|
107 |
"lists the extension methods which are to be included in the project.
|
|
108 |
Entries are 2-element array literals, consisting of class-name and selector.
|
|
109 |
A correponding method with real names must be present in my concrete subclasses
|
|
110 |
if it has extensions."
|
|
111 |
|
|
112 |
^ #(
|
|
113 |
)
|
|
114 |
! !
|
|
115 |
|
|
116 |
!stx_libscm_gitHub class methodsFor:'description - project information'!
|
|
117 |
|
|
118 |
companyName
|
|
119 |
"Returns a company string which will appear in <lib>.rc.
|
|
120 |
Under win32, this is placed into the dll's file-info.
|
|
121 |
Other systems may put it elsewhere, or ignore it."
|
|
122 |
|
|
123 |
^ 'Claus Gittinger & eXept Software AG'
|
|
124 |
!
|
|
125 |
|
|
126 |
description
|
|
127 |
"Returns a description string which will appear in nt.def / bc.def"
|
|
128 |
|
|
129 |
^ 'Smalltalk/X Class library'
|
|
130 |
!
|
|
131 |
|
|
132 |
legalCopyright
|
|
133 |
"Returns a copyright string which will appear in <lib>.rc.
|
|
134 |
Under win32, this is placed into the dll's file-info.
|
|
135 |
Other systems may put it elsewhere, or ignore it."
|
|
136 |
|
|
137 |
^ 'Copyright Claus Gittinger 2018\nCopyright eXept Software AG 2018'
|
|
138 |
!
|
|
139 |
|
|
140 |
productName
|
|
141 |
"Returns a product name which will appear in <lib>.rc.
|
|
142 |
Under win32, this is placed into the dll's file-info.
|
|
143 |
This method is usually redefined in a concrete application definition"
|
|
144 |
|
|
145 |
^ 'Smalltalk/X'
|
|
146 |
! !
|
|
147 |
|
|
148 |
!stx_libscm_gitHub class methodsFor:'documentation'!
|
|
149 |
|
|
150 |
version
|
|
151 |
^ '$Header$'
|
|
152 |
!
|
|
153 |
|
|
154 |
version_CVS
|
|
155 |
^ '$Header$'
|
|
156 |
! !
|
|
157 |
|