linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 82 forks source link

How can I configure my own recipe repo when using lineman fetch <recipe name> #374

Closed ghost closed 9 years ago

ghost commented 9 years ago

I noticed that fetcher supports the configuring the recipe repo. The same is not true with lineman fetch , as seen in the code below:

grunt = require('./../requires-grunt').require()
fetcher = require('fetcher')

module.exports = (recipes = [], cb) ->
  return displayHelp() if recipes.length == 0
  fetcher recipes, {recipeRepo: "https://github.com/linemanjs/fetcher-recipes.git"}, (er) ->
    grunt.warn(er) if er?
    return cb?(er) if er?
    cb?(null)

displayHelp = ->
  grunt.warn """

            Usage: `lineman fetch <recipe_name>`

            For a list of available recipes, see:
            https://github.com/linemanjs/fetcher-recipes/tree/master/recipes

            """

I would like to manage the recipes.

Thanks in advance for your help.

davemo commented 9 years ago

Hi @dematic-rodrigo-silveira, I've released 0.36.4 which allows you to override the fetcher recipes repo. Details here: https://github.com/linemanjs/lineman/releases/tag/0.36.4

Hope this works out for you :)