assemble / generator-assemble

Yeoman generator for Assemble, the static site generator built on Grunt.js. Kickstart new Assemble projects in just a few seconds, including templates, data, layouts, and a theme.

Home Page:http://assemble.io/docs/Resources.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Why is the property named "dist"?

jt000 opened this issue · comments

Purely out of curiosity, why is the variable named config.dist in Gruntfile.js line 28? I would've assumed it'd be named config.dest as in "destination". Typo or is there a significance to dist?

It is probably better to hold this conversation at assemble/assemble.

I'll just answer here. @jt000 dist is for distribution. Since it's just used as an arbitrary property here I can see how that might look like a typo. I've been using _gh_pages a lot in examples lately.

fwiw, we'll be releasing a new version of this soon, since assemble v0.6.0 is finally in beta

Ah, thanks @jonschlinkert for the clarification. I hadn't seen that before...

no prob, thanks for asking :)