GriffinSauce / Grouplanner

Easy regular planning with groups
0 stars 0 forks source link

Figure out a proper HTML/JS/CSS compiling workflow #31

Open GriffinSauce opened 10 years ago

GriffinSauce commented 10 years ago

HTML
Should be generated from handlebars views and component templates.

JS
Classes and Libs should be compiled to one file.
Should page specific code live in the page or in seperate JSfiles? Perhaps we could inject the right JS filename into the view template on build. Then we just need to have a similarly named JS for every view/page.

CSS
Grouplanner.css is compiled from sass in the sass folder.
Could be compiled serverside with middleware, but I don't see any advantage to that, since we're pushing complete changes, we might as well build locally and push the CSS.

Can the server run a watch-build only locally?

GriffinSauce commented 10 years ago

If we do compile locally (for development), we could also do a additional compile on Wercker to ensure that it is properly compiled when deployed.

HalleyInteractive commented 10 years ago

Added issues. Gulp task to compile js #37 Wercker step to run gulp tasks on build #38