Some cleanup refactoring in app package.

This commit is contained in:
jregan
2018-06-09 18:50:53 -07:00
committed by Jeffrey Regan
parent 6b5569d5ed
commit 211cda054e
8 changed files with 145 additions and 199 deletions

View File

@@ -81,12 +81,12 @@ func (o *buildOptions) RunBuild(out, errOut io.Writer, fs fs.FileSystem) error {
return err
}
application, err := app.New(rootLoader)
application, err := app.NewApplication(rootLoader)
if err != nil {
return err
}
allResources, err := application.Resources()
allResources, err := application.MakeCustomizedResMap()
if err != nil {
return err