Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-2

rules' output artifacts without filetags should use file taggers

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 0.2
    • None
    • None

    Description

      For rules there's the output artifact given.
      ATM we're attaching file tags to it.

      We want the following extension: if the Artifact has no tag set then we're using the tags that are provided by the FileTaggers.

      Example:

      Rule {
          fileTags: ["ui"]
      
          Artifact {
              fileName: "$(BASEDIR)/ui_$(BASENAME).h"
      
              // no typehint means go through all FileTaggers
          }
      
          transform: addCommand('uic', [inputs[0], '-o', outputs[0], ])
                      .description = 'uic ' + FileInfo.fileName(inputs[0].replace(/\\/g, '/'));
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes