forked from dalehenrich/CypressReferenceImplementation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdateGsDevKit_home.tpz
32 lines (26 loc) · 1.09 KB
/
updateGsDevKit_home.tpz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ifErr 1 stk
ifErr 2 stack
ifErr 3 exit 1
set u SystemUser p swordfish
login
# break method CypressClassDefinition createOrReviseRegularClass @ 4
# break method CypressClassDefinition loadClassDefinition: @ 3
run
| packageManager repo packageNames summary |
packageNames := #('Cypress-GemStoneCompatibilityLayer' 'Cypress-Definitions' 'Cypress-Structure' 'Cypress-Mocks' 'Cypress-GemStoneFileServer' 'Network-Url' 'Cypress-MesssageDigest' 'Cypress-Comparison' 'Cypress-PackageManagement' 'Cypress-Tests' 'NetworkTests' 'Cypress-PackageManagementTests').
packageManager := CypressPackageManager2 new.
repo := CypressAbstractRepository
onUrl:
'cypress:$GS_HOME/shared/repos/CypressReferenceImplementation/cypress/' asUrl
alias: 'Reference Implementation'.
packageNames
do: [ :each |
summary := packageManager
loadPackageFrom: (CypressKnownPackageInformation named: each)
defaultSymbolDictionaryName: #'Globals'
inRepository: repo.
summary isEmpty
ifFalse: [ self error: 'Could not reload package named: ' , each printString ] ]
%
commit
exit 0