Skip to content

Install

Martín Dias edited this page Nov 12, 2024 · 6 revisions

To load this project, evaluate the following script on Pharo 11, 12 or 13:

Metacello new
	baseline: 'SpecToplo';
	repository: 'github://pharo-graphics/Spec-Toplo:master/src';
	load

Add this project to your Baseline with:

spec baseline: 'SpecToplo' with: [ spec repository: 'github://pharo-graphics/SpecToplo:v0.2.0/src' ].

For development, this script may be convenient to be executed after loading /~https://github.com/pharo-graphics/BlocBenchs:

{
	'alexandrie'.
	'bloc'.
	'album'.
	'toplo'.
} do: [ :repoName |
	IceRepository registry
		select: [ :each | each name asLowercase = repoName ]
		thenDo: [ :each | (each branchNamed: 'dev') checkout. each fetch; pull ] ]
displayingProgress: [ :each | each ].

"Lock dev branches"
#(Toplo Album Bloc Alexandrie) do: [ :each |
	Metacello new
		baseline: each;
		repository: ('github://pharo-graphics/{1}:dev/src' format: { each });
		lock ].

"Load Spec-Toplo:dev"
Metacello new
	baseline: 'SpecToplo';
	repository: 'github://pharo-graphics/Spec-Toplo:dev/src';
	load.
Clone this wiki locally