Update > Tutorial: Cleaning dirty code.
This commit is contained in:
parent
c6db8be8cd
commit
df3206d70c
@ -328,30 +328,6 @@ GrafoscopioBrowser class >> updateDocumentation [
|
|||||||
].
|
].
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #updating }
|
|
||||||
GrafoscopioBrowser class >> updateDocumentationOld [
|
|
||||||
|
|
||||||
| localRepository remoteRepository |
|
|
||||||
|
|
||||||
localRepository := FileSystem disk workingDirectory parent / 'grafoscopio.fossil'.
|
|
||||||
remoteRepository := 'http://mutabit.com/deltas/repos.fossil/grafoscopio/'.
|
|
||||||
|
|
||||||
localRepository exists
|
|
||||||
ifFalse: [
|
|
||||||
OSProcess command: 'exec ', fossil, ' clone ' , remoteRepository, ' ', localRepository fullName.
|
|
||||||
OSProcess command: 'exec echo "Repositorio clonado."'.
|
|
||||||
]
|
|
||||||
ifTrue: [
|
|
||||||
(FileSystem disk workingDirectory parent / '.flsckout') exists
|
|
||||||
ifFalse: [
|
|
||||||
OSProcess command: 'exec ', fossil, ' open ', localRepository fullName .
|
|
||||||
OSProcess command: 'exec echo "Repositorio abierto."'.
|
|
||||||
] .
|
|
||||||
OSProcess command: 'exec ', fossil, ' update ' .
|
|
||||||
OSProcess command: 'exec echo "Repositorio actualizado."'.
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
{ #category : #updating }
|
{ #category : #updating }
|
||||||
GrafoscopioBrowser class >> updateDocumentationTemp [
|
GrafoscopioBrowser class >> updateDocumentationTemp [
|
||||||
"Updates documentation (manual, tutorials) from official repository"
|
"Updates documentation (manual, tutorials) from official repository"
|
||||||
@ -535,7 +511,7 @@ GrafoscopioBrowser class >> updateTutorial [
|
|||||||
| update filePath fileLocation client docs |
|
| update filePath fileLocation client docs |
|
||||||
update := (UIManager default
|
update := (UIManager default
|
||||||
confirm: '¿Desea actualizar la documentación?'
|
confirm: '¿Desea actualizar la documentación?'
|
||||||
label: 'Actualizar documentación').
|
label: 'Actualizar el tutorial').
|
||||||
update
|
update
|
||||||
ifTrue: [
|
ifTrue: [
|
||||||
docs := Dictionary
|
docs := Dictionary
|
||||||
|
Loading…
Reference in New Issue
Block a user