Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

include system using grunt-bake #46

Closed
wants to merge 3 commits into from
Closed

include system using grunt-bake #46

wants to merge 3 commits into from

Conversation

mbrandorff
Copy link
Contributor

Issue #24

Demo: http://numbereleven.github.io/Effeckt.css/

Gruntfile:
the bake task builds an index.html using the includes/index.html which has several to include the modules
it also generates single demo pages in demos/ by baking the include/demos/*.html documents

added the bake task to watch -> bakes automatically on changes in the includes/ folder

in order to add new modules you would have to

  1. add the module's html to includes/files/
  2. add to includes/index.html
  3. add the module's css / js to includes/index.html

i think the following point can be automated, i'll keep working on this if you guys think its worth it
4. copy the includes/index.html to includes/demos/, rename it to match your module's name and remove all other modules from it
5. run grunt includes

@chriscoyier
Copy link
Contributor

Looks like we're going with the Assembly thing - thanks for doing this though it's awesome and will be useful to reference.

@chriscoyier chriscoyier closed this Jul 4, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants