From e0166b98a9a821b0ce4e27e3a9821b57e5172780 Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Thu, 4 Sep 2014 01:26:15 -0400 Subject: [PATCH] Made package more go-getable. Based on how the Revel project is organized. --- README.md | 12 ++++++++---- src/jsh/common.go => common.go | 0 src/jsh/process.go => process.go | 0 {src/jsh/ps => ps}/main.go | 0 4 files changed, 8 insertions(+), 4 deletions(-) rename src/jsh/common.go => common.go (100%) rename src/jsh/process.go => process.go (100%) rename {src/jsh/ps => ps}/main.go (100%) diff --git a/README.md b/README.md index a6ade27..3c12b09 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,14 @@ We're working on making it so that they don't have to be in those directories. ## Installing * git clone this directory -* cd into the directory -* set the GOPATH environment variable to the directory +* If you didn't clone into your GOPATH, symlink the clone directory into + $GOPATH/src ### ps -* $ go install "jsh/ps" -* $ bin/ps +* $ go install jsh/ps +* $ $GOPATH/bin/ps + +You may want to prepend your path with $GOPATH/bin: + + export PATH=$GOPATH/bin:$PATH diff --git a/src/jsh/common.go b/common.go similarity index 100% rename from src/jsh/common.go rename to common.go diff --git a/src/jsh/process.go b/process.go similarity index 100% rename from src/jsh/process.go rename to process.go diff --git a/src/jsh/ps/main.go b/ps/main.go similarity index 100% rename from src/jsh/ps/main.go rename to ps/main.go