update Yesod README
This commit is contained in:
parent
e2b704cf0a
commit
65e6d3bf20
@ -4,29 +4,14 @@ 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
|
||||
* 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
|
||||
test/run.sh
|
||||
|
||||
## Getting a list of scaffold files for the cabal file
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user