Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no way to hide an entire collection if all patterns need to be hidden #68

Open
erikjung opened this issue Jun 6, 2016 · 0 comments
Labels
Milestone

Comments

@erikjung
Copy link
Contributor

erikjung commented Jun 6, 2016

For example,

src/patterns/foo has two patterns, both of which should be hidden.

Adding a collection.yaml to this directory with the contents of hidden: true should make the Foo collection hidden from iterators, etc.

Currently, attempting to do this results in an error with the builder:

[10:45:18] Starting 'drizzle'...
[10:45:18] Starting 'css:drizzle'...
[10:45:18] Starting 'css:toolkit'...
[10:45:18] Starting 'js'...
[10:45:19] Starting 'assets'...
[10:45:21] Finished 'css:drizzle' after 2.6 s
[10:45:22] 'drizzle' errored after 3.8 s
[10:45:22] Error
    at Error.DrizzleError (/Users/aileen/Desktop/jedec/node_modules/drizzle-builder/dist/utils/error.js:9:16)
    at Function.DrizzleError.error (/Users/aileen/Desktop/jedec/node_modules/drizzle-builder/dist/utils/error.js:26:13)
    at /Users/aileen/Desktop/jedec/node_modules/drizzle-builder/dist/parse/patterns.js:242:27
[10:45:24] Finished 'js' after 5.14 s
[10:45:24] gulp-imagemin: Minified 0 images
[10:45:24] Finished 'css:toolkit' after 5.41 s
[10:45:24] Finished 'assets' after 5.36 s

/CC @aileenjeffries @mrgerardorodriguez

@erikjung erikjung added this to the 1.0 release milestone Jun 6, 2016
@erikjung erikjung self-assigned this Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant