summaryrefslogtreecommitdiffstats
path: root/BUILD.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-06-02 16:32:15 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-06-02 17:59:01 +0900
commit8bbf9335e13f4d56fd7008757d4a9ead34e6381c (patch)
tree23fd133228c0edd817e06db1345248ef4f88ec23 /BUILD.md
parent159f30b37fb40f391cd97110cef943a290a471ab (diff)
Restructuring: main package in project root
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/BUILD.md b/BUILD.md
index f52f3950..390d8c2e 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -10,20 +10,19 @@ Build instructions
### Using Makefile
-```sh
-# Source files are located in src directory
-cd src
+Makefile will set up and use its own `$GOPATH` under the project root.
-# Build fzf binary for your platform in src/fzf
+```sh
+# Build fzf binary for your platform in target
make
# Build fzf binary and copy it to bin directory
make install
-# Build 32-bit and 64-bit executables and tarballs
+# Build 32-bit and 64-bit executables and tarballs in target
make release
-# Make release archives for all supported platforms
+# Make release archives for all supported platforms in target
make release-all
```
@@ -33,7 +32,7 @@ Alternatively, you can build fzf directly with `go get` command without
manually cloning the repository.
```sh
-go get -u github.com/junegunn/fzf/src/fzf
+go get -u github.com/junegunn/fzf
```
Third-party libraries used