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

need config and/or sugar for userland archetypes #3

Open
2 of 4 tasks
isao opened this issue Apr 10, 2013 · 1 comment
Open
2 of 4 tasks

need config and/or sugar for userland archetypes #3

isao opened this issue Apr 10, 2013 · 1 comment

Comments

@isao
Copy link

isao commented Apr 10, 2013

mojito create custom path/to/my/archetype could be sugared with convention or config. possibilities:

  • look for dir named "archetype" in cwd
  • look for dir named "archetype" in parent dir
  • look for archetype in parent dir up to ~ or root?
  • user configurable search paths
@isao
Copy link
Author

isao commented Apr 24, 2013

1st case above remedied with isao/mojito-create/@e75552e13e2e4a9aae4bd952e8b205fd7f0b0ac8

isao pushed a commit that referenced this issue Apr 30, 2013
change "." to "./archetypes" in SRCDIRS since former behavior
is actually identical to existing getSourceDir(), and saves no
typing. punting on test for now since code unwisely relies on
the process.cwd(). fixme.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant