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

     1  # Create META-INF folder with MANIFEST.MF & mtad.yaml
     2  meta: $(modules) post_build
     3  {{"\t"}}@$(MBT) gen meta -p=${p} -t=${t} {{- ExtensionsArg "-e"}}
     4  
     5  post_build: $(modules)
     6  {{"\t"}}@$(MBT) project build -p=post -t=${t} {{- ExtensionsArg "-e"}}
     7  
     8  # Validate mta.yaml
     9  validate: pre_build
    10  {{"\t"}}@$(MBT) validate -r=${strict} {{- ExtensionsArg "-e"}}
    11  
    12  # Pack as MTAR artifact
    13  mtar: $(modules) meta
    14  {{"\t"}}@$(MBT) gen mtar --mtar=${mtar} --target_provided=${target_provided} {{- ExtensionsArg "-e"}} -t=${t}
    15  
    16  cleanup: mtar
    17  # Remove tmp folder
    18  {{"\t"}}@$(MBT) clean -t=${t}