yesod/yesod
Michael Snoyman 9199e0f203 Version bump
2011-08-29 09:27:05 +03:00
..
input correct typo, link to docs 2011-08-17 16:52:15 -07:00
scaffold add -DWINDOWS to the library 2011-08-25 07:48:40 -07:00
Scaffolding re-organize files for case insensitive fs 2011-08-25 06:32:35 -07:00
static Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
test stop using shelltest 2011-08-25 14:05:53 -07:00
.gitignore Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
Build.hs re-organize files for case insensitive fs 2011-08-25 06:32:35 -07:00
Devel.hs re-organize files for case insensitive fs 2011-08-25 06:32:35 -07:00
LICENSE Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
main.hs re-organize files for case insensitive fs 2011-08-25 06:32:35 -07:00
README.md tests/ -> test/ 2011-08-20 06:50:23 -07:00
Setup.lhs Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
yesod.cabal Version bump 2011-08-29 09:27:05 +03:00
Yesod.hs Field -> EntityField 2011-08-23 07:11:52 +03: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 - star 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