Skip to content

Instantly share code, notes, and snippets.

@gcotelli
Last active October 3, 2018 12:21
Show Gist options
  • Save gcotelli/2c255a4b86f97ce2523bbb09135bf5ed to your computer and use it in GitHub Desktop.
Save gcotelli/2c255a4b86f97ce2523bbb09135bf5ed to your computer and use it in GitHub Desktop.
Loading BA-St Projects
| repos group bastRepoNames |
EpMonitor current disable.
group := MCRepositoryGroup default.
group repositories do:[ :repo | group removeRepository: repo ].
repos := '/home/gcotelli/GitHubRepos'.
bastRepoNames := #( 'Buoy' 'Boardwalk' 'Mole' 'Stardust' 'RenoirSt' 'Willow' 'Willow-Bootstrap' 'Willow-JQueryUI' 'Willow-SemanticUI' 'Willow-SpinKit' 'Willow-Mixpanel').
"Third-party repos"
Metacello new
baseline: 'Grease';
repository: ('gitlocal://<1s>/Grease/repository' expandMacrosWith: repos);
lock.
Metacello new
baseline: 'Seaside3';
repository: ('gitlocal://<1s>/Seaside/repository' expandMacrosWith: repos);
lock.
"Lock ba-st repositories to local copies and load development versions"
bastRepoNames do: [ :repoName |
Metacello new
baseline: (repoName select:[:char | char isAlphaNumeric ]);
repository: ('gitlocal://<1s>/<2s>/source' expandMacrosWith: repos with: repoName );
lock;
onLock: [:lock | lock honor];
load: 'Development'.
].
Metacello new
baseline: 'WillowPlayground';
repository: ('gitlocal://<1s>/Willow-Playground/source' expandMacrosWith: repos);
lock;
onLock: [:lock | lock honor];
load.
Metacello new
baseline: 'Buoy';
repository: ('gitlocal://<1s>/Buoy/source' expandMacrosWith: repos);
lock;
onLock: [:lock | lock honor];
load: 'Dev-Tools'.
EpMonitor current enable.
"Dev Environment Settings"
Author fullName: 'GabrielOmarCotelli'.
BIConfigurableFormatter
newLinesAfterMethodPattern: 2;
newLinesAfterTemporaries: 2;
retainBlankLinesBetweenStatements: true.
NECPreferences
popupShowAutomatic: false;
caseSensitive: false.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment