Add additional archetypes #18

Closed
searls opened this Issue Oct 14, 2012 · 5 comments

Comments

Projects
None yet
3 participants
Owner

searls commented Oct 14, 2012

I like the simplicity of a hello world archetype that really just shows a dead-simple project that contains one of each type of file, and doesn't burden users with any specific dependencies.

But what if Lineman supported multiple blueprints that the user could choose at creation time? I don't mean to suggest much in the way of code generation (because, yuck). But it'd be great if I could, when creating a project, get a choice of:

  1. Skeleton project
  2. Backbone project (with underscore, backbone, jQuery loaded)
  3. Ember project
  4. Express API project (with an express server and a hello world API stubbing
Contributor

davemo commented Oct 14, 2012

So I've been thinking about multiple archetypes for a while. I want to
start by adding one that encompasses parts of my lineman bootstrap
boilerplate but I am wary of designing too much intelligence into the
scaffolding a la yeoman.

On Sunday, October 14, 2012, Justin Searls wrote:

I like the simplicity of a hello world archetype that really just shows a
dead-simple project that contains one of each type of file, and doesn't
burden users with any specific dependencies.

But what if Lineman supported multiple blueprints that the user could
choose at creation time? I don't mean to suggest much in the way of code
generation (because, yuck). But it'd be great if I could, when creating a
project, get a choice of:

  1. Skeleton project

  2. Backbone project (with underscore, backbone, jQuery loaded)

  3. Ember project

  4. Express API project (with an express server and a hello world API
    stubbing


    Reply to this email directly or view it on GitHubhttps://github.com/testdouble/lineman/issues/18.

Owner

searls commented Oct 14, 2012

On that note, @davemo, we should squeeze whatever generated stuff we can back up into Lineman itself, allowing users a clear way to override. I was looking at a change that would have required a change to archetype/grunt.js today and other archetypes are only going to exacerbate this problem, I fear. Filed Issue #19.

nagyv commented Nov 5, 2012

I've just noticed that #26 relates to this.

nagyv commented Nov 8, 2012

is there any progress or plans on this?

Owner

searls commented May 10, 2013

After several months, the benefit of having a recipe command built-into lineman over just asking people to clone templates from github is approximately zilch. Closing for now.

searls closed this May 10, 2013

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