You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/03/26 10:20:05 UTC

[GitHub] [mynewt-newt] Reynevan94 commented on a change in pull request #389: INSTALLING.md fix

Reynevan94 commented on a change in pull request #389: INSTALLING.md fix
URL: https://github.com/apache/mynewt-newt/pull/389#discussion_r398459968
 
 

 ##########
 File path: INSTALLING.md
 ##########
 @@ -25,12 +25,13 @@ 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
 ```
 
-This puts the newt binary in $GOPATH/bin
+This builds the newt from repository and installs it in the system.
 
 Review comment:
   I think so, because `go help get` returns, among other things:
   ```
   Get downloads the packages named by the import paths, along with their
   dependencies. It then installs the named packages, like 'go install'.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services