yesod/yesod
2011-12-20 16:26:08 +02:00
..
input show mongo backend option to the world 2011-09-11 07:19:51 -07:00
scaffold Fix a broken build 2011-12-20 16:26:08 +02:00
Scaffolding Use monad-control 0.2 for MongoDB 2011-12-05 13:24:40 +02:00
static Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
test Fix a broken build 2011-12-20 16:26:08 +02:00
.gitignore Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
Build.hs attoparsec 0.10 fix 2011-11-29 08:09:53 +02:00
Devel.hs Bind to IPv4 by default 2011-12-20 15:57:15 +02:00
LICENSE Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
main.hs bump yesod version command to 0.9.3 2011-11-22 15:19:03 -06:00
README.md fix bulleted lists, typo 2011-10-04 17:15:08 +03:00
Setup.lhs Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
yesod.cabal Deprecate Yesod.Config; more configurable config in yesod-default 2011-12-14 09:18:27 +02:00
Yesod.hs monad-control 0.3 for yesod package 2011-12-05 11:20:36 +02:00

Overview

The yesod package

  • groups together the various Yesod related packages into one cohesive whole.
  • contains the executable yesod

There are 2 main features of the executable

  • yesod devel - start a development environment
  • yesod init - create a scaffolded site

Scaffolding

Test suite

install the shelltest package: cabal install shelltests

Run this from the project root directory. It will make sure each site type builds. It first does an sdist, which ensures we are testing what will be put on hackage.

test/run.sh

Give it the --debug flag to see all output

Quicker, repeatable site building

Useful for debugging individual failures.

test/runscaffold.sh < sqlite-input.txt

Getting a list of scaffold files for the cabal file

It is necessary after adding a scaffolding file to add it to the list of files in the cabal file.

find scaffold -type f