Browse Source

Made package more go-getable.

Based on how the Revel project is organized.
Ian Adam Naval 5 years ago
parent
commit
e0166b98a9
4 changed files with 8 additions and 4 deletions
  1. 8
    4
      README.md
  2. 0
    0
      common.go
  3. 0
    0
      process.go
  4. 0
    0
      ps/main.go

+ 8
- 4
README.md View File

@@ -16,10 +16,14 @@ We're working on making it so that they don't have to be in those directories.
16 16
 ## Installing
17 17
 
18 18
 * git clone this directory
19
-* cd into the directory
20
-* set the GOPATH environment variable to the directory
19
+* If you didn't clone into your GOPATH, symlink the clone directory into
20
+  $GOPATH/src
21 21
 
22 22
 ### ps
23 23
 
24
-* $ go install "jsh/ps"
25
-* $ bin/ps
24
+* $ go install jsh/ps
25
+* $ $GOPATH/bin/ps
26
+
27
+You may want to prepend your path with $GOPATH/bin:
28
+
29
+    export PATH=$GOPATH/bin:$PATH

src/jsh/common.go → common.go View File


src/jsh/process.go → process.go View File


src/jsh/ps/main.go → ps/main.go View File


Loading…
Cancel
Save