Packager is now builder (#958)

This commit is contained in:
Milos Gajdos
2019-11-19 16:09:43 +00:00
committed by Asim Aslam
parent 5744050943
commit 6a0082741c
7 changed files with 38 additions and 37 deletions

View File

@@ -5,7 +5,8 @@ import (
"strings"
"sync"
packager "github.com/micro/go-micro/runtime/package"
"github.com/micro/go-micro/runtime/build"
"github.com/micro/go-micro/runtime/process"
proc "github.com/micro/go-micro/runtime/process/os"
"github.com/micro/go-micro/util/log"
@@ -56,7 +57,7 @@ func newService(s *Service, c CreateOptions) *service {
Service: s,
Process: new(proc.Process),
Exec: &process.Executable{
Binary: &packager.Binary{
Package: &build.Package{
Name: s.Name,
Path: exec,
},