Steven Shaw
Steven Shaw

Reputation: 6249

What's stack's default template?

When you don't specify the template, what is the default?

i.e. when running the command stack new foo.

Upvotes: 5

Views: 1156

Answers (1)

Sibi
Sibi

Reputation: 48664

As seen in the source code, it's the template named new-template.

It's located here: https://github.com/commercialhaskell/stack-templates/blob/master/new-template.hsfiles

In fact, when you try out your command - it says so:

sibi { ~ }-> stack new foo
Downloading template "new-template" to create project "foo" in foo/ ...

Upvotes: 7

Related Questions