Commit Graph

34 Commits

Author SHA1 Message Date
gregwebs
32d11e886d more testing cleanup 2012-03-16 23:21:46 -07:00
gregwebs
494b2be299 cleanup test branch 2012-03-16 23:21:45 -07:00
Nubis
a7ce59cd2a integrated scaffold and improved scaffolded site 2012-03-16 23:21:45 -07:00
Nubis
b13a3d3858 integrated yesod tests to scaffolder. still work in progress 2012-03-16 23:21:45 -07:00
Michael Snoyman
068003cb36 Slightly improved yesod init 2012-02-01 13:13:19 +02:00
Bryan Richter
53a54fcf03 Restores prompts to not having a final newline
Also, since "done" isn't a prompt, just uses putStr for that message. It's got
an extra newline now, but imho that looks nicer anyway.
2012-01-31 19:35:07 -08:00
Bryan Richter
a0f8c45b4f Cleans up ends of scaffold files
Scaffolding.CodeGen.codegenDir no longer removes the final eol. Input files that
had extra eols have had them removed. With these changes, the generated files
are now more identical to the inputs:

    $ diff foo/LICENSE scaffold/LICENSE.cg
    4c4
    < Copyright 2012, foo. All rights reserved.
    ---
    > Copyright ~year~, ~name~. All rights reserved.

Additionally, initial commits of changes to a new project's files aren't
littered with "\ No newline at end of file". Maybe other people don't have this
problem, but vim auto-adds eols to files that lack them...

    commit ce34468190ea87b91eb3b1a9b7987f40d49cf97e
    Author: Bryan Richter <bryan.richter@gmail.com>
    Date:   Fri Jan 27 22:59:57 2012 -0800

        Adds newlines to files that need em.

     Foundation.hs                           |    2 +-
     Handler/Root.hs                         |    2 +-
     Import.hs                               |    2 +-
     config/models                           |    2 +-
     config/postgresql.yml                   |    2 +-
     config/settings.yml                     |    2 +-
     <and so on>
2012-01-31 11:32:06 -08:00
Michael Snoyman
d10912cf0f MySQL scaffolding support (#247) 2012-01-31 07:16:14 +02:00
Michael Snoyman
2f38ddaff3 Temporarily remove sessionIpAddress (#243) 2012-01-31 06:53:47 +02:00
Michael Snoyman
3c44df1ccf devel.hs is a normal scaffolded file 2012-01-24 04:43:29 +02:00
Michael Snoyman
e6577832b4 Scaffolding uses boilerplate (#234) 2012-01-22 20:32:44 +02:00
patrick brisbin
dad03b3524 adjust scaffold to silence Route warning, fixes #216 2012-01-20 14:34:41 -05:00
Michael Snoyman
eba8bc316f Scaffolding: match persistent renames 2012-01-15 12:41:13 +02:00
Michael Snoyman
bd6671b264 Less inversion of control 2012-01-12 09:52:06 +02:00
Michael Snoyman
a1b051ccca A bunch of scaffolding changes 2011-12-30 13:30:24 +02:00
Michael Snoyman
c90cf34ef5 data-object-yaml to yaml 0.5 2011-12-28 17:07:53 +02:00
Michael Snoyman
f74956e582 Use monad-control 0.2 for MongoDB 2011-12-05 13:24:40 +02:00
Greg Weber
88c34972b9 fix boilerplate-wrapper codegen 2011-10-20 06:35:44 -07:00
Pascal Wittmann
0452ee4527 configuration of robots.txt via config/robots.txt 2011-10-15 11:00:02 +02:00
Michael Snoyman
23139a579d Import.hs in scaffolding 2011-10-14 11:12:29 +02:00
Michael Snoyman
7e37608df9 Scaffolding: unified templates folder 2011-10-14 11:12:29 +02:00
patrick brisbin
2ffb5007fe fix filename mismatch in scaffolder 2011-10-06 21:45:17 -04:00
Michael Snoyman
933f0086d2 Scaffolding uses PersistConfig 2011-09-24 21:51:44 +03:00
Michael Snoyman
0d88bbf741 modernizr.js in scaffolded site 2011-09-23 09:48:42 +03:00
Michael Snoyman
40143c6391 widgetFile* provided by yesod-default 2011-09-23 08:13:30 +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
bb7f7c82f2 normalize is a Lucius file 2011-09-22 08:55:18 +03: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
63d34a3bb4 Update scaffold for defaultMain 2011-09-10 23:33:17 -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
Greg Weber
822a507f28 re-organize files for case insensitive fs 2011-08-25 06:32:35 -07:00