Hi Max,
I am happy you want to give these tools a try :).
The tools do not install themselves automatically because I think it is not a good practice to tie code loading with installation. To setup the Moose image, we actually have a command line handler that allows you to simply trigger this from the CI job:
./pharo $JOB_NAME.image mooseimagesetup --signature=$BUILD_URL
You can also trigger from the image:
MooseImageSetupCommandLineHandler activateWith: (CommandLineArguments withArguments: {})
This installs the theme, the fonts, preferences and the GToolkit playground, inspector and debugger.
However, for developing in Pharo, you do not need all of Moose, and almost certainly do not need the Moose Finder. You likely only need the GToolkit.
spec project: 'GToolkit' with: [
spec
className: 'ConfigurationOfGToolkit';
version: #development;
file: 'ConfigurationOfGToolkit';
To install the tools, you have to install them manually at the moment - but I will create a command line handler for that soon:
GTPlayground registerToolsOn: Smalltalk tools.
GTInspector registerToolsOn: Smalltalk tools.
GTGenericStackDebugger registerToolsOn: Smalltalk tools.
GTGenericStackDebugger registerExtraToolsOn: Smalltalk tools.
"GTPPDebugger registerToolsOn: Smalltalk tools." "only if you need it for PetitParser"
GTGlamourDebugger registerToolsOn: Smalltalk tools.
ACGlamourDebugger registerToolsOn: Smalltalk tools.
GTSUnitDebugger registerToolsOn: Smalltalk tools.
GTMoldableDebugger enableDebuggerWindowDistinctColor: true
To install the white theme:
GLMWhitespaceTheme
defaultSettings: nil;
setPreferredWorldBackground;
beCurrent
To install the fonts, you can just do this:
#('SourceCodeProRegular' 'SourceCodeProBold' 'SourceSansProRegular' 'SourceSansProBold') do: [ :each |
Smalltalk globals
at: each asSymbol
ifAbsent: [
Gofer new
smalltalkhubUser: 'girba' project: 'FreeFonts';
package: each;
load ].
(Smalltalk at: each asSymbol) new install ].
FreeTypeSystemSettings loadFt2Library: true.
FreeTypeFontProvider current updateFromSystem
Let me know how it goes.
Cheers,
Doru