patternlab-php icon indicating copy to clipboard operation
patternlab-php copied to clipboard

Gruntfile Configuration - Needs Updated?

Open challahan opened this issue 8 years ago • 1 comments

All of the instructions in documentation and across the internet say to set up the Gruntfile with:

command: "php lab/core/builder.php -gp"

but this results in an error.

screen shot 2017-01-19 at 10 57 31 pm

Unless I'm missing something, there is no builder.php file in this folder. Perhaps it's from an older version of PL?

At any rate, changing builder.php to console (which is a file in the folder) works perfectly.

command: "php lab/core/console -gp"

challahan avatar Jan 20 '17 04:01 challahan

@challahan The command I use is:

php core/console -gp

I wrote a bit more about how I use Grunt with Pattern Lab here: http://bradfrost.com/blog/post/using-grunt-with-pattern-lab/

bradfrost avatar Jan 20 '17 16:01 bradfrost