From 41a7989ea5a7d1ba725a4b25fb6e103ca97e07d1 Mon Sep 17 00:00:00 2001 From: Andreas Ulm Date: Thu, 25 Apr 2019 15:48:38 +0200 Subject: [PATCH] added 'go get' command & build instructions (#16) Signed-off-by: Andreas Ulm --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ee2ad88..07fa5df 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ the Gitea API implementation. Currently no prebuilt binaries are provided. To install, a Go installation is needed. ```sh +go get code.gitea.io/tea go install code.gitea.io/tea ``` @@ -30,6 +31,15 @@ tea releases > If you are inside a git repository hosted on a gitea instance, you don't need to specify the `--login` and `--repo` flags! +## Compilation + +To compile the sources yourself run the following: +```sh +go get code.gitea.io/tea +cd "${GOPATH}/src/code.gitea.io/tea" +go build +``` + ## Contributing Fork -> Patch -> Push -> Pull Request