You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/02/12 21:13:15 UTC
incubator-mynewt-newt git commit: Manifest package list was missing
package for project itself.
Repository: incubator-mynewt-newt
Updated Branches:
refs/heads/master 89f514c77 -> a52a823eb
Manifest package list was missing package for project itself.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/a52a823e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/a52a823e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/a52a823e
Branch: refs/heads/master
Commit: a52a823eb750160bdae92914c70112da18578bc8
Parents: 89f514c
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Feb 12 12:12:37 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Feb 12 12:12:37 2016 -0800
----------------------------------------------------------------------
newt/cli/project.go | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/a52a823e/newt/cli/project.go
----------------------------------------------------------------------
diff --git a/newt/cli/project.go b/newt/cli/project.go
index 68264a9..573ed2c 100644
--- a/newt/cli/project.go
+++ b/newt/cli/project.go
@@ -450,6 +450,11 @@ func (p *Project) Build() error {
}
}
+ // Mark package for this project as built
+ projectPkg, err := pkgList.ResolvePkgName("project/"+p.Name)
+ if projectPkg != nil {
+ projectPkg.Built = true
+ }
StatusMessage(VERBOSITY_DEFAULT, "Building project %s\n", p.Name)
// Create binaries in the project bin/ directory, under: