Tout d'abord: je n'ai jamais travaillé avec Smalltalk auparavant, donc c'est un peu un choc culturel pour moi. J'utilise Squeak 5.1 (32bit).Installation du projet Smalltalk à partir du référentiel GitHub
Maintenant à ma question: Je veux installer un projet Smalltalk à partir d'un référentiel GitHub. Je Metacello installé avec succès en utilisant ce code, l'exécuter dans la transcription:
"Get the Metacello configuration (for Squeak users)"
Installer gemsource
project: 'metacello';
addPackage: 'ConfigurationOfMetacello';
install.
"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project
version: #'previewBootstrap') load.
"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
configuration: 'MetacelloPreview';
version: #stable;
repository: 'github://dalehenrich/metacello-work:configuration';
load.
"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
get.
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
load.
Et j'ai aussi installé l'API de script Metacello en utilisant ce code:
Installer gemsource
project: 'metacello';
install: 'ConfigurationOfMetacello'.
Si je veux maintenant installer un projet à partir d'un GitHub dépôt, par exemple ceci:
Metacello new
baseline: 'Animations';
repository: 'github://hpi-swa/animations/repository';
load.
Je Allways obtenir cette erreur:
gofer repository error: 'GoferRepositoryError: UndefinedObject>>thisOSProcess'...ignoring
Ai-je raté quelque chose?
Le paquet 'OSProcess' semble manquer. Sur quel OS travaillez-vous? –
J'ai répété les mêmes étapes que vous décrivez dans une toute nouvelle installation pour Mac et cela a très bien fonctionné. –
@MaxLeske Je travaille sur Windows et j'utilise la version All-in-One de Squeak (qui devrait fonctionner sous Windows, Mac et Linux). –