Skip to content

Instantly share code, notes, and snippets.

@krono
Created September 15, 2018 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krono/c5018c5c02a3f774fbf19126a2793593 to your computer and use it in GitHub Desktop.
Save krono/c5018c5c02a3f774fbf19126a2793593 to your computer and use it in GitHub Desktop.
"-=-=-=-=-="
" This gets us Metacello "
"-=-=-=-=-="
Installer gemsource
project: 'metacello';
addPackage: 'ConfigurationOfMetacello';
install.
"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project
version: #'previewBootstrap') load.
"Quickfix"
Installer squeak
project: 'trunk';
install: 'SqueakSSL-Core';
install: 'WebClient-Core';
yourself.
"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';
onConflict: [:ex | ex allow];
load.
"-=-=-=-=-="
Preferences removeAllPreferencesSuchThat: [:ea | ea provider == MCGitBasedNetworkRepository].
"-=-=-=-=-="
"-=-=-=-=-="
Deprecation showDeprecationWarnings: false.
" REFACTORING TOOLS "
(Smalltalk at: #Metacello) new
configuration: 'RefactoringTools';
version: #stable;
load.
" AUTOCOMPLETION "
(Smalltalk at: #Metacello) new
configuration: 'OCompletion';
version: #stable;
load.
" SOMETHING LIKE SPOTLIGHT "
load.
[(Smalltalk at: #Metacello) new
githubUser: 'HPI-SWA-Teaching' project: 'Algernon-Launcher' commitish: '' path: 'packages';
baseline: 'Algernon';
onConflict: [:ex | ex allow];
load.
] on: AssertionFailure do: [:e | e resume].
(Smalltalk at: #ECPreferences) perform: #smartCharacters: with: false.
"-=-=-=-=-="
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment