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

Allow configuration of common paths in "mimosa new" #362

Open
kbaltrinic opened this issue Feb 13, 2014 · 3 comments
Open

Allow configuration of common paths in "mimosa new" #362

kbaltrinic opened this issue Feb 13, 2014 · 3 comments

Comments

@kbaltrinic
Copy link

Personally I like shorter directory names, so I would prefer to use js and css in lieu of the Mimosa defaults of javascripts and stylesheets. The problem is, there is no way to set this up in advance. Rather after doing a "mimosa new", one must update mimosa-config, plus root out all the affected pre-generated files (jade templates, etc. etc.). It would be nice if these paths could be added to the list of prompts that mimosa asks for when newing up a project.

@dbashford
Copy link
Owner

Sensible request. 👍

@kbaltrinic
Copy link
Author

Just as an FYI, the config values that seem most likely candidates for this treatment are:

watch:
    sourceDir:
    compiledDir:
    javascriptDir:
  vendor:
    javascripts: 
    stylesheets:
bower:  #I realize this will be tricky since its a plug-in 
  copy:
    outRoot:

Perhaps I am getting a little carried a way here but what would be really cool is if I could create my mimosa-config.coffee file ahead of time (or say copy one from another project) and have mimosa pick it up and figure out what to do based on it. Maybe even put my answers to all the standard questions in the config too so I can do a headless "mimosa new." Just thinking out loud here...

@Anachron
Copy link
Contributor

At least allow this with an additional flag like -p or --paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants