Created
February 23, 2012 10:02
-
-
Save dalehenrich/1892052 to your computer and use it in GitHub Desktop.
Sample of Metacello Scripting API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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. | |
"-----------------------------------------------------------------------------------------" | |
Author
dalehenrich
commented
Feb 24, 2012
via email
Excellent,
I look forward to hearing from you...
Dale
…----- Original Message -----
| From: "sebastianconcept" reply@reply.github.com
| To: "Dale Henrichs" dhenrich@vmware.com
| Sent: Friday, February 24, 2012 11:37:59 AM
| Subject: Re: gist gist: 1892052
|
| This sounds fantastic. Great work Dale.
|
| I'm going to take a deeper look into it.
|
| ---
| Reply to this email directly or view it on GitHub:
| https://gist.github.com/1892052
|
Compatible with the following versions:
dalehenrich/sample@5c062a1
dalehenrich/external@3f9b964
dalehenrich/metacello-work@75371fb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment