You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2020/04/22 20:06:04 UTC
[mynewt-newt] branch master updated: INSTALLING.md fix
This is an automated email from the ASF dual-hosted git repository.
ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git
The following commit(s) were added to refs/heads/master by this push:
new c2f8b25 INSTALLING.md fix
c2f8b25 is described below
commit c2f8b25c301bf60b45857f412dcc82f04395850b
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Thu Mar 26 09:57:10 2020 +0100
INSTALLING.md fix
- corrected requiered version of Go
- second method of installation made easier
---
INSTALLING.md | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/INSTALLING.md b/INSTALLING.md
index 5b01c5a..2d97f74 100644
--- a/INSTALLING.md
+++ b/INSTALLING.md
@@ -11,7 +11,7 @@ when available. To find these, please go to https://mynewt.apache.org/.
# Installing From Source
The newt tool is written in Go (https://golang.org/). In order to build Apache
-Mynewt, you must have Go 1.10 or later installed on your system. Please visit
+Mynewt, you must have Go 1.12 or later installed on your system. Please visit
the Golang website for more information on installing Go (https://golang.org/).
Once you have Go installed, you can build newt by running the contained
@@ -25,12 +25,14 @@ following path, relative to the source directory:
If you do not wish to run the included script, you can build newt manually with Go as follows (executed from the source directory):
```no-highlight
- $ mkdir "$GOPATH"/src/mynewt.apache.org
- $ cp -r * "$GOPATH"/src/mynewt.apache.org # Or untar to this path
- $ go install mynewt.apache.org/newt/newt
+ $ cd "$GOPATH"/src/
+ $ git clone https://github.com/apache/mynewt-newt
+ $ cd mynewt-newt/newt
+ $ go get
+ $ go build
```
-This puts the newt binary in $GOPATH/bin
+This downloads the dependencies and builds newt executable.
You can test the installation by running newt: