srs / gradle-gulp-plugin

Gradle plugin for running Gulp tasks
70 stars 9 forks source link

Can you use gulpfile from another directory? #15

Open erdog opened 8 years ago

erdog commented 8 years ago

Hi,

Is it possible to set the location of the gulpfile? It's possible will plain gulp (using the parameter "--gulpfile").

[Edit] To clarify, is it possible to run gulp in one location, but specify a gulpfile from another?

Thanks!

justinbleach commented 8 years ago

There's a configure section at the bottom of the README that mentions using 'workDir'. However when I tried that it failed and suggested I use 'workingDir' instead. That seems to get rid of the error but I haven't been able to get my gulp file to run yet.

justinbleach commented 8 years ago

I take that back. If you configure it in gulp{workDir:"..."} that works.