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

Mojito search path: also look for archetypes in env.mojito.path, if exists#26

Open
isao wants to merge 4 commits intoYahooArchive:developfrom
isao:mojito-search-path
Open

Mojito search path: also look for archetypes in env.mojito.path, if exists#26
isao wants to merge 4 commits intoYahooArchive:developfrom
isao:mojito-search-path

Conversation

@isao
Copy link

@isao isao commented Dec 23, 2013

(Reposting after using the wrong fork isao#6 :/ )

Prepend "$mojito/archetypes" to the array of directories in which to
find archetype templates.

The value of $mojito is either /node_modules/mojito if it exists,
or specified by the --libmojito option.

See also issue YahooArchive/mojito#1301

Note that you can use also use the full path to any directory for archetype templates.

the errno property for ENOENT changed from 34 to -2 in node 0.11
isao and others added 3 commits December 23, 2013 19:17
for some reason `git clean -dfX **/artifacts` proceeded to delete the
node_modules dir on travis/linux:

    > mojito-cli-create@0.0.7 clean /home/travis/build/isao/mojito-cli-create
    > git clean -dfX **/artifacts

    Removing node_modules/

using a less magic glob to avoid
Prepend "$mojito/archetypes" to the array of directories in which to
find archetype templates.

The value of $mojito is either <cwd>/node_modules/mojito if it exists,
or specified by the --libmojito option.

see also issue #1301
@caridy
Copy link

caridy commented Jan 9, 2014

+1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants