Commit Graph

145 Commits

Author SHA1 Message Date
Michael Snoyman
6c58728ad3 Better scaffolded cabal file 2011-09-23 10:16:54 +03:00
Michael Snoyman
0d88bbf741 modernizr.js in scaffolded site 2011-09-23 09:48:42 +03:00
Michael Snoyman
c9bb4fe622 Merge remote-tracking branch 'origin/master'
Conflicts:
	yesod-default/yesod-default.cabal
2011-09-23 08:40:37 +03:00
Michael Snoyman
0f3f6bd6cb runWaiApp 2011-09-23 08:31:47 +03:00
Michael Snoyman
40143c6391 widgetFile* provided by yesod-default 2011-09-23 08:13:30 +03:00
Michael Snoyman
6a949e7f29 Remove YesodAuthEmail from scaffolding 2011-09-23 07:02:31 +03:00
patrick brisbin
62030bee5a Use new test runner from scripts
* Create scaffold_test.sh which holds actual tests (still calls
  scaffold.sh)
* Move rm/unregister of foobar to setup/teardown functions
* run.sh now prints deprecation warning and calls ../scripts/runtests
2011-09-22 13:54:32 -04:00
Michael Snoyman
05ca4bc907 Proper disable-library-profiling 2011-09-22 12:02:08 +03:00
Michael Snoyman
189b3d2bab Included messages in scaffolded site 2011-09-22 09:50:12 +03:00
Michael Snoyman
ecca686b73 Cassius -> Lucius 2011-09-22 09:37:22 +03:00
Michael Snoyman
31dd38d103 Unified homepage between main and tiny scaffolding 2011-09-22 09:07:59 +03:00
Michael Snoyman
8c094f154f Fixed settings.yml.cg 2011-09-22 09:02:27 +03:00
Michael Snoyman
29ce11cd5a Quicker builds on development 2011-09-22 09:01:27 +03:00
Michael Snoyman
9815fe8891 tiny/Foundation uses addStaticContentExternal 2011-09-22 08:59:52 +03:00
Michael Snoyman
bb7f7c82f2 normalize is a Lucius file 2011-09-22 08:55:18 +03:00
Michael Snoyman
632bb4c7ed addStaticContentExternal 2011-09-22 08:44:57 +03:00
patrick brisbin
a6e7924e7c New Scaffold! hurrah! 2011-09-21 18:52:57 -04:00
patrick brisbin
48bc765915 Merge branch 'master' into default-main 2011-09-19 16:15:09 -04:00
patrick brisbin
4f52f22a2c Put yesod module back as it was 2011-09-19 15:14:41 -04:00
patrick brisbin
cfb6e1e24a Move bulk of Settings/Main out of -core
Trim settings to only the AppConfig def and an AppEnv typeclass, rename
to Config but leave in -core
2011-09-19 15:12:19 -04:00
Michael Snoyman
be372022ec GHC 6.12 fixes 2011-09-14 07:11:44 +03:00
patrick brisbin
f41029fd4c Add yesod dep to tiny scaffold 2011-09-13 23:07:27 -04:00
patrick brisbin
2d0d70fd60 bring comments back in 2011-09-13 21:55:11 -04:00
patrick brisbin
900e9476f3 Move Settings/Main out of -core 2011-09-13 21:28:33 -04:00
patrick brisbin
2fdb24b2c1 Complete rewrite of test/run.sh
Output is more useful (IMO). Everything is silenced for the duration of
the tests but a count of tests/failures and any errors are output at the
end. Pass --verbose to watch stdout during the tests.

Logic is also seperated into core setup/runners and individual test
definitions. Should be more easily extensible.
2011-09-11 17:17:48 -04:00
patrick brisbin
e0bc2a78a8 Fix up scaffold.sh
Use bash -e instead of single pipeline
Unregister foobar after testing it
2011-09-11 17:17:39 -04:00
patrick brisbin
f06f11ff26 Simplify scaffold futher by using defaultDevelApp 2011-09-11 17:15:35 -04:00
patrick brisbin
2aa6f989a6 Complete rewrite of test/run.sh
Output is more useful (IMO). Everything is silenced for the duration of
the tests but a count of tests/failures and any errors are output at the
end. Pass --verbose to watch stdout during the tests.

Logic is also seperated into core setup/runners and individual test
definitions. Should be more easily extensible.
2011-09-11 15:00:20 -04:00
patrick brisbin
a9ac0a11b6 Fix up scaffold.sh
Use bash -e instead of single pipeline
Unregister foobar after testing it
2011-09-11 14:59:32 -04:00
patrick brisbin
fa3fabcfba Update scaffolding with new load connection functions
Yesod.Settings provides load functions which were previously scaffolded.
They load the ConsStrs for SQL and ConnParams for Mongo.

This prevents the need for a lot of the imports in the scaffolding
settings and simplifies the existing Text import.
2011-09-11 14:57:06 -04:00
patrick brisbin
47b0986964 Merge branch 'master' into default-main 2011-09-11 11:55:46 -04:00
Greg Weber
cba8a6938a show mongo backend option to the world 2011-09-11 07:19:51 -07:00
Luite Stegeman
02a2c6de02 remove obsolete Update field attribute from scaffold 2011-09-11 13:02:22 +02:00
Michael Snoyman
40e83beae3 Version bumps 2011-09-11 08:53:41 +03:00
patrick brisbin
6360cb5e62 Update scaffold to use fromArgs 2011-09-11 00:35:46 -04:00
patrick brisbin
4654776fa4 Re-export new modules 2011-09-10 23:33:31 -04:00
patrick brisbin
63d34a3bb4 Update scaffold for defaultMain 2011-09-10 23:33:17 -04:00
patrick brisbin
c569ed5f2f Stylistic changes to scaffolded main 2011-09-10 20:49:07 -04:00
patrick brisbin
f99a64e372 Import more from Settings 2011-09-10 20:46:26 -04:00
patrick brisbin
5da5fb8174 Make logger imports and function conditional
Silences -Wall for unused imports/function if PRODUCTION is defined
2011-09-10 20:40:52 -04:00
patrick brisbin
0723c19afa Fix missing logger argument in main.hs
logger argument was omitted in the withSiteArg call if PRODUCTION is
defined
2011-09-10 20:37:11 -04:00
Greg Weber
15a03b5a30 new version of mongoDB 2011-09-10 07:30:06 -07:00
Greg Weber
a9297006f8 mongoDB works! 2011-09-10 06:19:53 -07:00
Luite Stegeman
cdb091046d fix warning on Windows 2011-09-10 01:22:56 +02:00
Luite Stegeman
d342798b4f restore original yesod touch behaviour 2011-09-10 01:04:58 +02:00
Michael Snoyman
acee39587c Fix a typo 2011-09-07 19:56:32 +03:00
Luite Stegeman
bbf9f9092b fix merge typo 2011-09-06 09:56:17 +02:00
Luite Stegeman
1f8d753300 mnerge new-devel (Greg made me do it) 2011-09-06 09:51:32 +02:00
Luite Stegeman
e25389c4dd whoops switched cabal-dev and cabal 2011-09-06 09:35:36 +02:00
Luite Stegeman
71e1e57615 wait for file changes after server has quit 2011-09-06 09:27:19 +02:00