From 769a52df169e12b79bbe7bade4f422af9a26847e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brikou=20Carr=C3=A9?= Date: Fri, 3 Feb 2017 10:41:54 +0100 Subject: [PATCH] Bring back "Build restic" paragraph --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4460cdf5d..b3292efb3 100644 --- a/README.md +++ b/README.md @@ -24,18 +24,24 @@ Install restic You can download the latest pre-compiled binary from the [restic release page](https://github.com/restic/restic/releases/latest). -```sh -$ ./restic --help -restic is a backup program which allows saving multiple revisions of files and -directories in an encrypted repository stored on different backends. +Build restic +============ -Usage: - restic [command] -[...] -``` +Install Go/Golang (at least version 1.6), then run `go run build.go`, +afterwards you'll find the binary in the current directory: + + $ go run build.go + + $ ./restic --help + Usage: + restic [OPTIONS] + [...] More documentation can be found in the [user manual](doc/Manual.md). +At the moment, the only tested compiler for restic is the official Go compiler. +Building restic with gccgo may work, but is not supported. + Contribute and Documentation ============================