1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import 'blubb.js' as blubb Product { type: ["text"] Rule { multiplex: true Artifact { fileTags: ["text"] filePath: "one.txt" } Artifact { fileTags: ["text"] filePath: "two.txt" } prepare: { var filePaths = outputs.text.map(function (artifact) {return artifact.filePath; }); return blubb.createCommands(filePaths); } } }