github.com/SAP/cloud-mta-build-tool@v1.2.27/internal/tpl/make_verbose.txt (about)

     1  # List of modules
     2  modules = {{- range .File.Modules}}{{- if not ($.IsNoSource .Name)}} {{.Name}}{{end}}{{end}}
     3  
     4  # Execute all modules builds
     5  {{- range .File.Modules}}{{- if not ($.IsNoSource .Name)}}
     6  # build module {{.Name}}
     7  {{.Name}}: validate {{- range $.GetModuleDeps .Name}} {{.Name}}{{end}}
     8  {{"\t"}}@echo 'INFO building the "{{.Name}}" module...'
     9  {{- range $.GetModuleDeps .Name}}{{"\n\t"}}@$(MBT) cp -s={{$.GetPathArgument .SourcePath}} -t={{$.GetPathArgument .TargetPath}} {{- range .Patterns}} -p={{$.ConvertToShellArgument .}}{{end}}{{end}}
    10  {{"\t"}}@$(MBT) execute -d="$(PROJ_DIR)/{{.Path}}" {{- if .BuildParams.timeout}} -t={{$.ConvertToShellArgument .BuildParams.timeout}}{{end}} {{- with $cmds := CommandProvider .}}{{range $i, $cmd:=$cmds.Command}} -c={{$.ConvertToShellArgument .}}{{end}}{{end}}
    11  # Pack module build artifacts
    12  {{"\t"}}@$(MBT) module pack -m={{.Name}} -p=${p} -t=${t} {{- ExtensionsArg "-e"}}
    13  {{"\t"}}@echo 'INFO finished building the "{{.Name}}" module'
    14  {{end}}{{end}}