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

     1  modules := $(shell $(MBT) provide modules -d=dev {{- ExtensionsArg "-e"}})
     2  modules := $(subst ],,$(subst [,,$(modules)))
     3  # List of all the recipes to be executed during the build process
     4  .PHONY: all pre_validate pre_build validate $(modules) post_build meta mtar cleanup
     5  # Default target compile all
     6  all: pre_validate pre_build validate $(modules) post_build meta mtar cleanup
     7  # Validate mta.yaml
     8  pre_validate:
     9  {{"\t"}}@$(MBT) validate -r=${strict} -x="paths" {{- ExtensionsArg "-e"}}
    10  pre_build: pre_validate
    11  {{"\t"}}@$(MBT) project build -p=pre {{- ExtensionsArg "-e"}}
    12  
    13