diff --git a/Makefile b/Makefile deleted file mode 100644 index 9f7afc9..0000000 --- a/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -COMMIT = $$(git describe --always) - -deps: - @echo "====> Install dependencies..." - go get -d github.com/fatih/color - go get -d github.com/mattn/go-colorable - go get -d github.com/mattn/go-isatty - go get -d github.com/fatih/color - go get -d gopkg.in/cheggaaa/pb.v1 - go get -d github.com/mattn/go-isatty - -clean: - @echo "====> Remove installed binary" - rm -f bin/hget - -install: deps - @echo "====> Build hget in ./bin " - go build -ldflags "-X main.GitCommit=\"$(COMMIT)\"" -o bin/hget diff --git a/README.md b/README.md index ba9b65c..1d7b796 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,10 @@ Rocket fast download accelerator written in golang. Current program working in u ## Install ``` -$ go get -d github.com/huydx/hget -$ cd $GOPATH/src/github.com/huydx/hget -$ make clean install +$ go get github.com/huydx/hget ``` -Binary file will be built at ./bin/hget, you can copy to /usr/bin or /usr/local/bin and even `alias wget hget` to replace wget totally :P +You can even `alias wget hget` to replace wget totally :P ## Usage @@ -32,5 +30,3 @@ To interrupt any on-downloading process, just ctrl-c or ctrl-d at the middle of ### Resume ![](https://i.gyazo.com/caa69808f6377421cb2976f323768dc4.gif) - -