How can I write a simple gulp pipe function??

I've been trying for a day to write two pipe functions, one that compiles less files and another one that concats th...