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

     1  # List of all the recipes to be executed during the build process
     2  .PHONY: pre_validate pre_build validate {{- range .File.Modules}}{{- if not ($.IsNoSource .Name)}} {{.Name}}{{end}}{{end}} meta mtar cleanup
     3  # Default target compile all
     4  all: pre_validate pre_build validate {{- range .File.Modules}}{{- if not ($.IsNoSource .Name)}} {{.Name}}{{end}}{{end}} meta mtar cleanup
     5  # Validate mta.yaml
     6  pre_validate:
     7  {{"\t"}}@$(MBT) validate -r=${strict} -x="paths" {{- ExtensionsArg "-e"}}
     8  
     9  pre_build: pre_validate
    10  {{"\t"}}@$(MBT) project build -p=pre {{- ExtensionsArg "-e"}}
    11  
    12  # Set the current project repository path for general mta process
    13    PROJ_DIR := $(CURDIR)