From 7a1a541c989a68559ffd5b19c89d072f6606f6e0 Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Sun, 11 Jun 2017 14:02:43 -0400 Subject: [PATCH 1/3] Rename main directory for better support of go get --- {main => duplicacy}/duplicacy_main.go | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {main => duplicacy}/duplicacy_main.go (100%) diff --git a/main/duplicacy_main.go b/duplicacy/duplicacy_main.go similarity index 100% rename from main/duplicacy_main.go rename to duplicacy/duplicacy_main.go From 2d69f64c208f2b3d9cb74f6e56a2b29a607beb46 Mon Sep 17 00:00:00 2001 From: gilbertchen Date: Sun, 11 Jun 2017 14:08:13 -0400 Subject: [PATCH 2/3] Create README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 21775d6..5fe2451 100644 --- a/README.md +++ b/README.md @@ -26,16 +26,13 @@ The [design document](https://github.com/gilbertchen/duplicacy-cli/blob/master/D ## Getting Started -Duplicacy is written in Go. You can build the executable by running the following commands: +Duplicacy is written in Go. You can run the following command to build the executeable (which will be created under `$GOPATH/bin`): ``` -git clone https://github.com/gilbertchen/duplicacy.git -cd duplicacy -go get ./... -go build main/duplicacy_main.go +go get -u github.com/gilbertchen/duplicacy/... ``` -You can also visit the [releases page](https://github.com/gilbertchen/duplicacy-cli/releases/latest) to download the version suitable for your platform. Installation is not needed. +You can also visit the [releases page](https://github.com/gilbertchen/duplicacy-cli/releases/latest) to download the version suitable for your platform.. Once you have the Duplicacy executable on your path, you can change to the directory that you want to back up (called *repository*) and run the *init* command: From 3f45b0a15a7d65581a43a73e4aeefc4aa5a93848 Mon Sep 17 00:00:00 2001 From: gilbertchen Date: Sun, 11 Jun 2017 14:09:39 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fe2451..da56efd 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Duplicacy is written in Go. You can run the following command to build the exec go get -u github.com/gilbertchen/duplicacy/... ``` -You can also visit the [releases page](https://github.com/gilbertchen/duplicacy-cli/releases/latest) to download the version suitable for your platform.. +You can also visit the [releases page](https://github.com/gilbertchen/duplicacy-cli/releases/latest) to download the pre-built binary suitable for your platform.. Once you have the Duplicacy executable on your path, you can change to the directory that you want to back up (called *repository*) and run the *init* command: