Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample of Metacello Scripting API
"download HEAD of master branch of the sample project, i.e., download from github, but don't load Sample project into image"
Metacello new
project: 'Sample';
repository: 'github://dalehenrich/sample:master/core';
get.
"load HEAD of master branch of the sample project, i.e., download from github, and load Sample project into image"
Metacello new
project: 'Sample';
repository: 'github://dalehenrich/sample:master/core';
load.
"load HEAD of master branch of the external project, i.e., download from github, and load Sample project into image"
Metacello new
project: 'External';
repository: 'github://dalehenrich/external:master/core';
load.
"-----------------------------------------------------------------------------------------"
"load HEAD of master branch of the sample project, from cloned /opt/git/sample git repository"
Metacello new
project: 'Sample';
repository: 'filetree:///opt/git/sample/core/';
load.
"load HEAD of master branch of the external project, from cloned /opt/git/external git repository"
Metacello new
project: 'External';
repository: 'filetree:///opt/git/external/core/';
load.
"-----------------------------------------------------------------------------------------"
@sebastianconcept

This comment has been minimized.

Copy link

@sebastianconcept sebastianconcept commented Feb 24, 2012

This sounds fantastic. Great work Dale.

I'm going to take a deeper look into it.

@dalehenrich

This comment has been minimized.

Copy link
Owner Author

@dalehenrich dalehenrich commented Feb 24, 2012

@dalehenrich

This comment has been minimized.

Copy link
Owner Author

@dalehenrich dalehenrich commented Mar 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment