forked from dalehenrich/CypressReferenceImplementation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.tpz
executable file
·73 lines (63 loc) · 1.63 KB
/
install.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
!!!! Input this with current directory where this file appears in a Cypress working directory !!!!
errorCount
output pushnew CypressReferenceImplementationInstall.out only
errorCount
set user SystemUser pass swordfish
login
! switch to errorcheck because class definitions doit's don't have expectvalue
display errorcheck
errorCount
! Make sure the portable Streams are installed - we depend on them.
!run
!Stream installPortableStreamImplementation.
!%
errorCount
input topaz/Cypress-GemStoneCompatibilityLayer.gs
errorCount
input topaz/Cypress-Definitions.gs
errorCount
input topaz/Cypress-Structure.gs
errorCount
!input topaz/Cypress-Mocks.gs
!errorCount
input topaz/Cypress-GemStoneFileServer.gs
errorCount
input topaz/Network-Url.gs
errorCount
input topaz/Cypress-MesssageDigest.gs
errorCount
input topaz/Cypress-PackageManagement.gs
errorCount
input topaz/Cypress-Comparison.gs
errorCount
commit
run
| packageManager repo packageNames summary |
packageNames := #(
'Cypress-GemStoneCompatibilityLayer'
'Cypress-Definitions'
'Cypress-Structure'
'Cypress-GemStoneFileServer'
'Network-Url'
'Cypress-MesssageDigest'
'Cypress-PackageManagement'
'Cypress-Comparison'
).
packageManager := CypressPackageManager2 new.
repo := CypressAbstractRepository
onUrl: 'cypress:cypress/' asUrl
alias: 'Reference Implementation'.
packageNames do: [:each |
summary := packageManager
loadPackageFrom: (CypressKnownPackageInformation named: each)
inRepository: repo.
summary isEmpty
ifFalse: [self error: 'Could not reload package named: ', each printString].
].
%
commit
errorCount
output pop
!!!! Final error count:
errorCount
logout