/squeak-appframework

Tiny framework for Squeak apps that can be updated via Metacello and receive feedback on GitHub

Primary LanguageSmalltalkOtherNOASSERTION

squeak-appframework

Tiny framework for Squeak apps that can be updated via Metacello and receive feedback on GitHub

Installation

Standalone

Metacello new
	baseline: 'CtAppFramework';
	repository: 'github://LinqLover/squeak-appframework:main';
	get; "for updates"
	load.

As a Metacello Dependency

spec
	baseline: 'CtAppFramework' with:
		[spec repository: 'github://LinqLover/squeak-appframework:main'].

"..."

spec group: #recommended with: #('CtAppFramework').
spec group: #withRecommended with: #(default recommended)].

After installation, you need to hide and show the world main docking bar again (via yellow-click into the world > show main docking bar) to include the new update item into the main menu.

Update Apps

In the world main docking bar, open the main menu (Squeak icon) and click on Update apps....

Update apps menu Update apps dialog

Framework

To participate in the framework, override at least #selfUpdate or #githubRepositoryParams in the main class in your project. See the comment in CtAppFramework for more details.