Skip to content

Instantly share code, notes, and snippets.

@guillep
Created August 11, 2017 10:19
Show Gist options
  • Save guillep/a9f1e8dc5be78bafa689ae391b2b438a to your computer and use it in GitHub Desktop.
Save guillep/a9f1e8dc5be78bafa689ae391b2b438a to your computer and use it in GitHub Desktop.
items := OrderedCollection new.
items add: (StartupAction name: 'Setup Pharo Iceberg Repository' code: [ | myRepoLocation |
myRepoLocation := FileLocator home / 'Projects/Pharo/git-repos/pharo'.
IceRepository registry
detect: [ :e | e name = 'pharo' ]
ifFound: [ :pharo |
pharo
location: myRepoLocation;
subdirectory: 'src' ]
]).
StartupPreferencesLoader default
addAtStartupInPreferenceVersionFolder: items
named: 'pharo_iceberg.st'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment