Aborted due to warnings (a wee bit too sensitive... =) #3

Closed
Melindrea opened this Issue Apr 17, 2013 · 5 comments

Comments

Projects
None yet
2 participants
@Melindrea

Thanks again for fixing #2, and I just tested it out, with the following output:

Running "csscss:dist" (csscss) task
.tmp/style.css
[]

Warning: Failed due to matches found by CSSCSS. Use --force to continue.

Aborted due to warnings.
@peterkeating

This comment has been minimized.

Show comment Hide comment
@peterkeating

peterkeating Apr 17, 2013

Owner

Interesting, wonder why CSSCSS is outputting an empty array. What are the options you're passing to CSSCSS? Also, out of curiosity what is the CSS in .tmp/style.css?

Owner

peterkeating commented Apr 17, 2013

Interesting, wonder why CSSCSS is outputting an empty array. What are the options you're passing to CSSCSS? Also, out of curiosity what is the CSS in .tmp/style.css?

@Melindrea

This comment has been minimized.

Show comment Hide comment
@Melindrea

Melindrea Apr 17, 2013

Options:

csscss: {
        options: {
            verbose: true,
            outputJson: true,
            compass: true,
            failWhenDuplicates: true
        },
        dist: {
            src: ['.tmp/style.css']
        }
    },

CSS: https://gist.github.com/Melindrea/5402865#file-style-css (after I realised how big the file actually is -- 1004 lines).

I'm assuming the reason it outputted an empty array is because there are no duplicates. It's a quite basic stylesheet at the moment, mainly Normalizer followed by Typeplate and a few minor adjustments.

Options:

csscss: {
        options: {
            verbose: true,
            outputJson: true,
            compass: true,
            failWhenDuplicates: true
        },
        dist: {
            src: ['.tmp/style.css']
        }
    },

CSS: https://gist.github.com/Melindrea/5402865#file-style-css (after I realised how big the file actually is -- 1004 lines).

I'm assuming the reason it outputted an empty array is because there are no duplicates. It's a quite basic stylesheet at the moment, mainly Normalizer followed by Typeplate and a few minor adjustments.

@peterkeating

This comment has been minimized.

Show comment Hide comment
@peterkeating

peterkeating Apr 17, 2013

Owner

Ah the reason is because your output is JSON, that makes perfect sense. Will get this sorted for you as soon as I can :)

Thanks a bunch!

Owner

peterkeating commented Apr 17, 2013

Ah the reason is because your output is JSON, that makes perfect sense. Will get this sorted for you as soon as I can :)

Thanks a bunch!

@Melindrea

This comment has been minimized.

Show comment Hide comment
@Melindrea

Melindrea Apr 17, 2013

I like the cleanliness of JSON =)

I like the cleanliness of JSON =)

peterkeating added a commit that referenced this issue Apr 17, 2013

fixed bug which failed grunt task when outputting JSON and set to fai…
…l when duplicates are found even though no duplicates were found. (#3).
@peterkeating

This comment has been minimized.

Show comment Hide comment
@peterkeating

peterkeating Apr 17, 2013

Owner

All sorted, thanks Marie, your feedback is very much appreciated :)

Keep opening issues if you find anything else or can think of anything else that would be useful.

Owner

peterkeating commented Apr 17, 2013

All sorted, thanks Marie, your feedback is very much appreciated :)

Keep opening issues if you find anything else or can think of anything else that would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment