There is an unfortunate issue with the new newt path. When you run "go
build" or "go install" from the new directory, the resulting executable
has this horrible name: incubator-mynewt-newt.git, which is probably not
what you want.
To work around this issue, you can pass the -o option to the build
command as follows:
go build -o "$GOPATH"/bin/newt
This will produce the properly named newt executable in the usual place.
I think the correct long-term solution is to create a "newt" directory
in the git repository, and to move all the newt source files into that
directory. This is a fairly major change, so I wanted to give everyone
the weekend to think of reasons why this might be a bad idea.
Thanks,
Chris
On Fri, Nov 13, 2015 at 05:12:52PM -0800, Christopher Collins wrote:
> Hello all,
>
> Just a quick heads up-
>
> If your newt installation is located at this path:
> $GOPATH/src/github.com/mynewt/newt/newt.go
>
> then you will have problems using the latest version of newt.
>
> Your newt install needs to be migrated to the asf incubator directory.
> The following command will ensure newt is in the proper location:
>
> go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git
>
> After running the above command, newt will be located at:
>
> $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt.go
>
> After newt has been moved on your machine, you may want to update your
> environment variables and scripts accordingly.
>
> Please shout if you run into any problems :).
>
> Thanks,
> Chris