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

Create a generator based on the jacket generator for Ocelot d7 theme #3

Open
6 tasks
rob-bar opened this issue Jan 20, 2016 · 0 comments
Open
6 tasks

Comments

@rob-bar
Copy link
Contributor

rob-bar commented Jan 20, 2016

Main things that should be handled by the ocelot d7 generator:

  • Make a theme folder (based on single name)
  • Download Ocelot stable release (> 0.2.2) can be npm or tar on github
  • Do some renames on .info and theme functions
  • Download Jacket stable release (> 0.1.0) should be via npm or bower and should be included in ocelot as dep.
  • Combine gulp tasks from jacket into ocelot. or come up with a tactic that makes it possible to do sub gulp files, this is not yet cleared out.
  • Combine package.json files
  • Copy the (scss / css) files from jacket to ocelot and wire up the utils folder from the dep jacket package so they can be updated.
  • make tests to see everything works

Questions for ocelot:

  • What is the name of the Drupal 7 theme [Input]
  • Where do you want to create or update a theme [Input]
  • Is this a subtheme? [y/N]
  • if yes...provide the parent themename? [Input](check if the folder exists)
  • Regions? [checkboxlist]

We can reuse questions from the jacket generator also.

Questions from jacket:

General

  • What is the name of your project? (used in package.json en bower.json)
  • What is the descripton of your project? (used in package.json en bower.json)

files

  • Do you want to include a print.scss? Or maybe selectable [ ] layout rules, [ ] component rules, [ ] etc...

html

  • Do you want to use jade? yes / no (Default yes)
  • Do you want to use a index.html? yes / no (Default yes)

Server

  • Do you want to use BrowserSync? yes / no (Default yes)
  • Server for browsersync? (default: project.local) SHOULD ONLY BE A QUESTION IN OCELOT GEN

Scss

  • Do you want to use Scss_lint? yes / no (Default yes)
  • Please select the breakpoints? Select?
  • Neat Grid settings...$max-width(input), $visual-grid(yes/no)
  • Do you want to use SassDoc? yes / no (Default yes)
@rob-bar rob-bar modified the milestone: 0.1.0 Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant