get.porter.sh/porter@v1.3.0/cmd/exec/build.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"get.porter.sh/porter/pkg/exec"
     7  	"github.com/spf13/cobra"
     8  )
     9  
    10  func buildBuildCommand(m *exec.Mixin) *cobra.Command {
    11  	cmd := &cobra.Command{
    12  		Use:   "build",
    13  		Short: "Generate Dockerfile lines for the bundle image",
    14  		Run: func(cmd *cobra.Command, args []string) {
    15  			fmt.Fprintln(m.Config.Out, "# exec mixin has no buildtime dependencies")
    16  		},
    17  	}
    18  	return cmd
    19  }