Hi,

Am Sonntag, den 31.01.2016, 12:08 +0100 schrieb Joachim Breitner:
> I think we’d want the yesod-* templates to be shipped by the yesod
> package, and find a way to tell stack to use local templates.

$ stack new --help
[..]
  TEMPLATE_NAME            Name of a template or a local template in a
                           subdirectory, for example: foo or foo.hsfiles

So it seems we could include the template in the yesod package in some
location and make "yesod new" tell the user to run
$ stack new /.../yesod-sqlite.template

A bit hard to discover for the user, but might otherwise work nicely.

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  [email protected] | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: [email protected] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to