yesod/yesod
2012-02-13 03:21:28 +11:00
..
input Slightly improved yesod init 2012-02-01 13:13:19 +02:00
scaffold Revert "Adding a comment to the models config file for the scaffolded site to help avoid gotcha" 2012-02-13 03:21:28 +11:00
Scaffolding Slightly improved yesod init 2012-02-01 13:13:19 +02:00
static Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
test MySQL scaffolding support (#247) 2012-01-31 07:16:14 +02:00
.gitignore Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
Build.hs Add in handling for the persistFileWith case in determining dependent files for the yesod devel server 2012-02-13 03:19:01 +11:00
Devel.hs Check cabal build exit code, don't try to start application if build failed 2012-02-11 04:26:26 +01:00
LICENSE Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12' 2011-07-22 08:59:52 +03:00
main.hs give the real version number 2011-12-25 14:04:45 -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 Version bumps 2012-02-09 15:20:15 +02:00
Yesod.hs Added missing import statement 2012-01-17 09:11:18 +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