ianwremmel / grunt-customize-bootstrap

MIT License
10 stars 4 forks source link

Add instructions for overriding less files #1

Closed ianwremmel closed 8 years ago

RodolpheGohard commented 9 years ago

Hello, I think this is what I am looking for. I can't get grunt-customize-bootstrap to include my overrides. here is the task:

        'customize-bootstrap': {
            yourTarget: {
                options: {
                    bootstrapPath: 'bower_components/bootstrap',
                    src: 'less/bootstrap-custom/',
                    dest: 'dist/'
                }
            }
        },

the file bootstrap.less is generated but missing the overrides (currently, only variables.less) I placed in less/bootstrap-custom/.

the output bootstrap.less look like this:

@import "../bower_components/bootstrap/less/variables.less";
@import "../bower_components/bootstrap/less/mixins.less";
@import "../bower_components/bootstrap/less/normalize.less";
@import "../bower_components/bootstrap/less/print.less";
@import "../bower_components/bootstrap/less/glyphicons.less";
@import "../bower_components/bootstrap/less/scaffolding.less";
@import "../bower_components/bootstrap/less/type.less";
...
RodolpheGohard commented 9 years ago

Sorry, that was a typo; I named my folder boostrap-custom in place of bootstrap-custom. Still, I found the explanations unclear in the Readme.