Update Go INSTALL instructions. Make the instructions compatible with installing from the official release tarball, in addition to compatible with installing from a Git checkout.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d5b24746 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d5b24746 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d5b24746 Branch: refs/heads/master Commit: d5b2474617c80081a3facf3a3a55a353b604bc4f Parents: 292dad1 Author: Marvin Humphrey <[email protected]> Authored: Wed Dec 30 16:27:40 2015 -0800 Committer: Marvin Humphrey <[email protected]> Committed: Wed Dec 30 16:27:40 2015 -0800 ---------------------------------------------------------------------- compiler/go/INSTALL.md | 15 ++++++++++----- runtime/go/INSTALL.md | 12 ++++-------- 2 files changed, 14 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d5b24746/compiler/go/INSTALL.md ---------------------------------------------------------------------- diff --git a/compiler/go/INSTALL.md b/compiler/go/INSTALL.md index 3d44031..0276482 100644 --- a/compiler/go/INSTALL.md +++ b/compiler/go/INSTALL.md @@ -1,18 +1,23 @@ Apache Clownfish symbiotic object system -- CFC compiler Go bindings -------------------------------------------------------------------- -These are temporary installation instructions for developers working on the -Apache Clownfish Go (golang) bindings. +To install from an official release of Clownfish: -Make sure you have your GOPATH set, then clone the Clownfish git repository. + mkdir -p $GOPATH/src/git-wip-us.apache.org/repos/asf/lucy.git + tar -C $GOPATH/src/git-wip-us.apache.org/repos/asf/lucy.git \ + -zxf apache-clownfish-0.5.0.tgz + +Developers actively working on Clownfish may instead clone from the Clownfish +Git repository: mkdir -p $GOPATH/src/git-wip-us.apache.org/repos/asf cd $GOPATH/src/git-wip-us.apache.org/repos/asf git clone https://git-wip-us.apache.org/repos/asf/lucy-clownfish.git lucy-clownfish.git - cd lucy-clownfish.git/compiler/go -From the `compiler/go` directory within the checkout, run `build.go`: +Once the source code is in place, from the `compiler/go` directory within the +checkout, run `build.go`: + cd $GOPATH/src/git-wip-us.apache.org/repos/asf/lucy-clownfish.git/compiler/go go run build.go go run build.go test go run build.go install http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d5b24746/runtime/go/INSTALL.md ---------------------------------------------------------------------- diff --git a/runtime/go/INSTALL.md b/runtime/go/INSTALL.md index c5db488..7a29c59 100644 --- a/runtime/go/INSTALL.md +++ b/runtime/go/INSTALL.md @@ -1,17 +1,13 @@ Apache Clownfish symbiotic object system -- runtime Go bindings --------------------------------------------------------------- -These are temporary installation instructions for developers working on the -Apache Clownfish Go bindings. - As a prerequisite, install the Go bindings for the Clownfish compiler (CFC). -This will entail cloning the Git repository which is shared by the runtime. - - # After installing CFC, switch to the runtime/go directory. - cd $GOPATH/src/git-wip-us.apache.org/repos/asf/lucy-clownfish.git/runtime/go +This will entail installing the shared source tree for Clownfish, which +includes the source code for both the compiler and the runtime. -From the `runtime/go` directory within the checkout, run `build.go`: +After installing CFC, switch to the `runtime/go` directory and run `build.go`: + cd $GOPATH/src/git-wip-us.apache.org/repos/asf/lucy-clownfish.git/runtime/go go run build.go go run build.go test go run build.go install
