yesod/yesod
2012-08-03 11:32:13 +03:00
..
input MySQL is not experimental 2012-05-21 18:07:25 +03:00
scaffold Fix scaffolding tests 2012-08-03 11:32:13 +03:00
Scaffolding Merge branch 'beta' 2012-07-11 08:48:09 +03:00
static Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
test test mongodb and yesod-test 2012-05-20 17:15:57 -07:00
.gitignore Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
AddHandler.hs add-handler (#362) 2012-07-02 18:14:35 +03:00
Build.hs fix import warnings 2012-04-02 07:35:30 -07:00
Devel.hs Fixed yesod devel flag checking 2012-04-25 10:43:21 +03:00
Keter.hs yesod keter (#359) 2012-07-11 15:10:38 +03:00
LICENSE Update license with MIT license 2012-04-29 09:38:45 +03:00
main.hs yesod keter (#359) 2012-07-11 15:10:38 +03: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 yesod keter (#359) 2012-07-11 15:10:38 +03:00
Yesod.hs Remainder of Logger changes, scaffolded site works (#360) 2012-07-05 13:37:54 +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 - 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