From 14590b35ec346d8d323cb42dc4bc42590dfab109 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Wed, 13 Jan 2016 17:59:07 +0100 Subject: [PATCH] README: add build instructions Fix #49 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9ca35fcee..d552ef51d 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,14 @@ Please use the current latest version: ## Compiling +From the project root dir executing: +``` +export GOPATH=$PWD +go get +go build +``` +will build the `arduino-create-agent` binary. + `compile_webidebridge.sh` contains the cross-platform script we use to deploy the agent for all the supported platforms; it needs to be adjusted as per your `go` installation paths and OS. You can use `bootstrapPlatforms` function to compile the needed CGO-enabled environment