From 15e2c96e24f56228c57be4af2d6a601a93695506 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 2 Nov 2011 16:04:40 +0000 Subject: Document new command line usage --- README | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 16a44559..fd34a3b7 100644 --- a/README +++ b/README @@ -73,12 +73,21 @@ To build a stratum: } To use morph, create the relevant morphology files (`*.morph`), -then run a command like the following: +commit them to a git repository, and then run a command like the following: - morph build core.morph + morph build file://$HOME/baserock/morphs master core.morph This will build the Baserock core stratum. It will recursively build -any chunks that also need to be built. +any chunks that also need to be built. The last three command line +arguments are: + +* URL to repository; this may be relative to `--git-base-url` or absolute. +* A git commit reference; here, the HEAD of the `master` branch is used. +* The filename in the git commit. + +Note that morph retrieves the morphology file from git. It does not use +the copy that is checked out. If you make any modifications, you **must** +commit them. Morphology spec -- cgit v1.2.1