Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

init for shifter #64

Open
F21 opened this Issue Mar 7, 2013 · 1 comment

Comments

Projects
None yet
2 participants

F21 commented Mar 7, 2013

yogi has init which builds the directory structure that is required. For shifter, it by default, also expects the same directory structure.

For example, it expects my javascript files to be in js, so, in my builder.json, it expects me to use the following if I my test-module.js is in the same folder as builder.json:

"jsfiles": [
        "../test-module.js"
]

instead of (relative to builder.json):

"jsfiles": [
  "test-module.js"
]

Since shifter expects a certain directory structure, I think it would be beneficial to have shifter able to generate the directory for us using an init command. This is especially useful for yui projects that are folders within a larger and more complex project and already use git in the root. Yogi, forces us to have a git at the top level for our modules, otherwise it refuses to run init, so shifter is a better fit for projects like this.

Owner

davglass commented Mar 8, 2013

I don't think I want to add this to shifter, but I'll leave it here in case I get to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment