Commit Graph

265 Commits

Author SHA1 Message Date
Michael Snoyman
a6a8b3fa68 More scaffolding updates 2015-01-21 23:42:55 +02:00
Michael Snoyman
f9ee741b92 Scaffolding update 2015-01-15 08:38:34 +02:00
Michael Snoyman
e79a85b289 Scaffolding update yesodweb/yesod-scaffold#50 2015-01-02 09:06:49 +02:00
Michael Snoyman
587127dda9 Version bump 2014-12-31 08:09:42 +02:00
Maximilian Tagher
3f20c759dc Have add-handler include the function arguments 2014-12-30 19:11:07 -08:00
Michael Snoyman
f3308026a7 Add missing .hsfiles 2014-12-21 10:37:40 +02:00
Michael Snoyman
7faea277cc Add mini scaffolding 2014-12-20 21:31:39 +02:00
Michael Snoyman
c1f1e91fa9 Scaffolding update 2014-12-17 11:36:00 +02:00
Michael Snoyman
d28b6eae3f No args in keter.yml 2014-12-16 10:14:44 +02:00
Michael Snoyman
7b5ffac803 Version bump 2014-12-15 09:01:15 +02:00
Christopher Reichert
fbc6c9fc13 Fix if then statement layout in Scaffolder.
Fixes the Travis build error:

```
Scaffolding/Scaffolder.hs:99:34:
    Unexpected semi-colons in conditional:
        if isBare; then LT.replace "cd PROJECTNAME && " ""; else LT.replace
                                                                   "PROJECTNAME" (LT.pack project)
    Perhaps you meant to use -XDoAndIfThenElse?
```
2014-12-14 14:44:24 -06:00
Rolf Sievers
a421d638f3 Fix issue #884. 2014-12-07 15:18:19 +01:00
Michael Snoyman
f82bd1885f Updated scaffolding 2014-11-29 19:20:02 +02:00
Michael Snoyman
fb42a6d4bb Allow devel.hs in subdirs 2014-11-19 21:11:49 +02:00
Michael Snoyman
a689b0b268 Scaffolding update 2014-11-17 09:58:13 +02:00
Michael Snoyman
d1815857df Version bump 2014-11-13 23:38:33 +02:00
Michael Snoyman
c0f0c13352 Disable tests and benchmarks for yesod devel #864 2014-11-13 23:36:03 +02:00
Michael Snoyman
30780add67 Scaffolding update 2014-11-09 14:32:20 +02:00
Luite Stegeman
87e06494ea restore default options injection 2014-10-29 14:18:41 +01:00
Michael Snoyman
f26aa4d5b4 Version bump 2014-10-23 05:58:32 +03:00
Michael Snoyman
21a7d47f3b Fixes for import Handler indentation 2014-10-23 05:58:32 +03:00
Michael Snoyman
f49ddc8047 Version bump 2014-10-21 09:21:43 +03:00
Michael Snoyman
973b0bd6d7 Add requires-secure to keter file 2014-10-21 09:21:21 +03:00
Michael Snoyman
658f31e0d7 Version bump 2014-10-19 17:05:17 +03:00
Michael Snoyman
b83835b421 Updated scaffolding: proper logging for Persistent 2014-10-19 17:05:03 +03:00
Michael Snoyman
27cfef6edb Add ViewPatterns to scaffold 2014-10-16 19:20:42 +03:00
Michael Snoyman
cb65f421bf Minor scaffolding updates 2014-10-13 10:29:56 +03:00
Michael Snoyman
e1a239a749 optparse-applicative 0.11 2014-10-13 10:29:22 +03:00
Michael Snoyman
20b49da658 Scaffolding update (bootstrap 3) 2014-10-07 12:55:12 +03:00
Michael Snoyman
0d1da1b583 Scaffolding update to Yesod 1.4 2014-09-21 22:00:53 +03:00
Michael Snoyman
343335f00e Merge branch 'master' into yesod-1.4 2014-09-21 21:55:02 +03:00
Michael Snoyman
3848b23ca5 Updated scaffolding 2014-09-21 13:12:59 +03:00
Michael Snoyman
def48d8a45 Version bumps for 1.4 release 2014-09-21 11:41:37 +03:00
Michael Snoyman
f1de32ec68 Merge branch 'master' into yesod-1.4 2014-09-21 10:56:58 +03:00
Michael Snoyman
eda8597039 Better keter.yml in scaffolding 2014-09-21 10:56:22 +03:00
Michael Snoyman
a2563c8d05 yesod keter: support for new config file format 2014-09-21 10:42:53 +03:00
Michael Snoyman
f86d181377 Merge branch 'master' into yesod-1.4 2014-09-21 00:07:11 +03:00
Michael Snoyman
d3e4831b38 Scaffolding update 2014-09-14 07:23:19 +03:00
Michael Snoyman
e4a401f58d Add a signature 2014-09-08 10:02:11 +03:00
Michael Snoyman
ccab062f2d Remove all conditional compilation for Yesod 1.4 release
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
598e570913 Remove deprecated packages 2014-09-07 17:41:09 +03:00
Michael Snoyman
815901eeb4 Version bump 2014-09-07 16:58:00 +03:00
Michael Snoyman
97af86e43a Simplified done.cg #819 2014-09-03 17:56:20 +03:00
Michael Snoyman
67438d191d optparse-applicative 0.10 2014-09-03 08:20:10 +03:00
Greg Weber
ec91c8b59b version bump 2014-09-01 20:19:25 -07:00
Hugo Daniel
525a73a100 Update yesod-bin.cabal
This fixes the error:

[10 of 10] Compiling Main             ( main.hs, dist/build/yesod/yesod-tmp/Main.o )

main.hs:192:35:
    Not in scope: ‘reader’
    Perhaps you meant one of these:
      ‘header’ (imported from Options.Applicative),
      ‘readIO’ (imported from Prelude), ‘readLn’ (imported from Prelude)
cabal: Error: some packages failed to install:
yesod-bin-1.2.12.5 failed during the building phase. The exception was:
ExitFailure 1
2014-09-01 18:12:20 +01:00
Greg Weber
07c1baefc4 use -j for cabal install 2014-08-30 19:16:49 -07:00
Michael Snoyman
ebf3c8e4f2 Scaffolding update for #814 2014-08-31 00:22:34 +03:00
Michael Snoyman
d6b3d2a890 conduit 1.2 version bumps 2014-08-27 18:01:02 +03:00
Michael Snoyman
d3df218a96 conduit 1.2 patch 2014-08-27 17:34:35 +03:00
Michael Snoyman
b2c16c9d4c Scaffolding update: turn on -N 2014-08-25 18:07:58 +03:00
Michael Snoyman
e091096388 Version bump 2014-08-20 18:46:01 +03:00
Michael Snoyman
9c3cf3e4c5 Scaffolding updates 2014-08-20 17:53:06 +03:00
Dunric
9831220c47 add-handler interactive 2014-08-17 20:15:50 +02:00
Erik de Castro Lopo
c20cb20438 yesod-bin/Devel.hs : Relax requirements on location of Application.hs.
I often move Application.hs to MyApp/Application.hs (and change the
module name as needed) which would result in yesod-bin printing a
warning about a missing Application.hs.

The code should now accept any file named Application.hs (either in
the top level source directory or somewhere in the tree.
2014-08-14 18:16:01 +10:00
Christopher Reichert
c1f08eeb9f Load keter config file with yml or yaml extension.
Complimentary fix for snoyberg/keter#41
2014-08-13 21:19:14 -05:00
Paul Rouse
20dfec4d88 Revise previous fix (#799) to yesod devel timeout 2014-08-08 11:10:07 +01:00
Michael Snoyman
a9f526bb39 Scaffolding changes for Ctrl-C 2014-08-08 11:28:33 +03:00
Michael Snoyman
c1ba0dc2fa Version bump 2014-08-07 08:23:46 +03:00
Paul Rouse
1d3b60abef Mitigate yesod devel load (#767) by increasing a timeout 2014-08-06 20:27:24 +01:00
Michael Snoyman
cfb96fd316 add-handler: check if file exists #798 2014-08-06 13:47:34 +03:00
Michael Snoyman
b3959dead3 Version bumps 2014-08-03 12:36:58 +03:00
Michael Snoyman
970f81af15 Scaffolding updates
Addresses kazu-yamamoto/logger#44 and #791
2014-08-03 12:36:58 +03:00
Joel Taylor
23ffdbe4f8 strip src prefix 2014-07-27 11:17:03 -07:00
Michael Snoyman
6a09bc3406 Version bumps 2014-07-26 21:53:26 +03:00
Michael Snoyman
972efd0ca4 Scaffold update 2014-07-15 19:06:27 +03:00
Erik de Castro Lopo
4745676200 yesod-bin/Scaffolding/Scaffolder.hs : Remove un-used variable. 2014-07-15 20:42:11 +10:00
Erik de Castro Lopo
bc933bbefb yesod-bin/Keter.hs : Use System.Process instead of System.Cmd.
System.Cmd is deprecated.
2014-07-15 20:42:11 +10:00
Anthony Burzillo
54a4417f54 Add color to "Build failure" warning 2014-07-06 23:25:17 -04:00
Michael Snoyman
268c68a544 Version bump 2014-06-18 08:02:36 +03:00
Michael Snoyman
27b3cb58bb Upstream yesod-scaffold changes for #761 2014-06-18 08:01:45 +03:00
Michael Snoyman
ecd5d76181 Scaffolding update 2014-06-18 07:56:15 +03:00
Michael Snoyman
9a583e5af3 Version bumps 2014-06-18 06:59:23 +03:00
Michael Snoyman
d9faced6b1 Merge pull request #751 from MaxGabriel/validateName
Validate cabal package name not having numeric-only words
2014-06-13 08:34:20 +03:00
Michael Snoyman
32e729fdb3 Version bump 2014-06-09 13:36:13 +03:00
Michael Snoyman
e8c910d958 ghc 7.8.3 support #748 2014-06-09 12:37:22 +03:00
Michael Snoyman
0dc5d2e88e yesod-platform and scaffolding update 2014-06-09 11:01:49 +03:00
Maximilian Tagher
7315a464d7 Use Cabal's Distribution.Text/Distribution.Package to validate package names 2014-06-07 12:27:34 -07:00
Maximilian Tagher
5b5caf2ad4 Break out the check for numeric-only words into a separate function, with comments 2014-06-06 13:08:20 -07:00
Maximilian Tagher
62877cbba0 In yesod init, ensure words have atleast one character; fixes #550 2014-06-06 13:02:08 -07:00
Michael Snoyman
08f796fc58 Version bumps 2014-05-27 12:48:03 +03:00
Michael Snoyman
3202eec80a Merge remote-tracking branch 'origin/master' into wai3 2014-05-27 12:46:33 +03:00
Michael Snoyman
f0d6e1adaa Version bump 2014-05-25 08:29:11 +03:00
Michael Snoyman
e305587143 Don't warn about unlisted Setup module 2014-05-25 08:27:48 +03:00
Michael Snoyman
82de52e3d2 Various additional WAI 3.0 fixes 2014-05-22 21:04:28 +03:00
Robert Lee
a37e54ee8c yesod-bin.cabal grant developers rtsopts
Sometimes yesod (yesod-bin) needs a stack space boost. Large projects can suffer stack overflows during development rebuilds.
2014-05-22 11:15:10 -05:00
Michael Snoyman
0633866ef9 Version bump 2014-05-15 11:51:35 +03:00
Michael Snoyman
11ac378920 fsnotify 0.1 2014-05-15 11:51:03 +03:00
Michael Snoyman
cb95446469 Call watchTree in background (faster startup when there are lots of files) 2014-05-14 08:09:21 +03:00
Michael Snoyman
cf20f15957 Use Map for updating environment variables.
This ensures that the newly inserted variables overwrite any existing
variables. For more information, see:

https://groups.google.com/d/msg/yesodweb/0AX2GbKqmIk/nKYTCVoCm4QJ
2014-05-13 18:31:21 +03:00
Greg Weber
68c02c3289 version bumpm for 503 json response 2014-04-25 11:13:01 -07:00
Michael Snoyman
99831b52a2 Respect accept header for JSON in devel server #719 2014-04-24 07:14:01 +03:00
Michael Snoyman
f43c7fd3e4 copy-to-port #724 2014-04-24 06:38:53 +03:00
Michael Snoyman
9b816aec75 Scaffolding update 2014-04-18 16:08:57 +03:00
Michael Snoyman
82d40c4ad4 Remove a useless upper bound 2014-04-12 22:26:19 +03:00
Michael Snoyman
e355dbcf43 GHC 7.8 support 2014-04-12 21:47:06 +03:00
Michael Snoyman
398abb0ade Scaffolding update 2014-04-10 19:58:46 +03:00
Michael Snoyman
f16f7ed83d Version bump 2014-04-02 13:04:10 +03:00
Michael Snoyman
843e03d4f7 scaffolding and platform updates 2014-04-02 13:03:41 +03:00
Michael Snoyman
d764464152 conduit 1.1 2014-03-27 16:38:52 +02:00
Michael Snoyman
971da29bad Version bumps 2014-03-20 12:26:40 +02:00
Michael Snoyman
7e4ef60ae1 Drop filesystem-conduit dependency 2014-03-20 12:09:24 +02:00
Michael Snoyman
c5f9a2d5b2 Version bump 2014-03-17 08:55:14 +02:00
Michael Snoyman
cb6cf18919 Scaffolding update 2014-03-17 08:35:59 +02:00
Michael Snoyman
c86823b1ce Version bump 2014-03-11 18:38:21 +02:00
Michael Snoyman
64547ba773 Import mkHsFile for Windows as well 2014-03-11 06:29:51 +02:00
Michael Snoyman
11a35799b5 Version bump 2014-03-06 07:49:21 +02:00
Michael Snoyman
d2745fc277 Separate hsfiles command 2014-03-06 07:35:05 +02:00
Michael Snoyman
a4ab0530ca Merge branch 'now-simpler' of github.com:HugoDaniel/yesod
Conflicts:
	yesod-bin/main.hs
	yesod-bin/yesod-bin.cabal
2014-03-06 07:32:37 +02:00
Michael Snoyman
2819821b2e Version bump 2014-03-02 07:51:55 +02:00
Ian Graves
198e65d222 Switching to Data.Default.Class in yesod-bin. 2014-03-01 14:16:44 -06:00
Michael Snoyman
d262543ff1 Scaffolding update 2014-02-19 09:12:07 +02:00
Michael Snoyman
53bf9496dd Try to address #612 2014-02-09 10:34:25 +02:00
Michael Snoyman
be73d7d6c9 Scaffolding update 2014-02-07 07:55:08 +02:00
Michael Snoyman
3bec45790e Version bump 2014-02-02 18:57:17 +02:00
Casey Zednick
03ecaba0cc Update done output to use Michael's PSA advice (https://groups.google.com/forum/#!topic/yesodweb/5fPqTr0Ca3A) 2014-01-31 23:08:23 -08:00
Michael Snoyman
b828c7c600 Version bumps 2014-01-27 15:12:18 +02:00
Michael Snoyman
77eeb929d4 Updated scaffolding 2014-01-27 15:11:55 +02:00
Michael Snoyman
a6594f5408 Better cabal install command 2014-01-23 20:03:24 +02:00
Michael Snoyman
78cd98af12 Version bump 2014-01-12 16:04:01 +02:00
Michael Snoyman
12480b2d2a Adjust some version bounds in scaffolding 2014-01-03 14:58:13 +02:00
Michael Snoyman
14fbd3860c Fix add-handler for multipiece routes (closes #640) 2013-12-29 09:47:18 +02:00
Michael Snoyman
aedd5aff36 scaffolding update 2013-12-29 08:33:39 +02:00
Michael Snoyman
3ca170b45d Scaffolding update #641 2013-12-28 19:16:19 +02:00
Greg Weber
bd6b9253a1 remove old embed-refresh flag
fixes indentation issue
2013-12-12 21:52:23 -08:00
Greg Weber
ef80ab00df bump yesod-bin version for new --interrupt-only option 2013-12-10 13:52:40 -08:00
Greg Weber
fbfd1b65e4 Merge branch 'master' of github.com:yesodweb/yesod 2013-12-10 13:50:20 -08:00
Michael Snoyman
1747e2fdc8 Don't use fromStrict 2013-12-04 14:16:25 +02:00
Michael Snoyman
02ab5320e3 Version bumps 2013-12-04 07:01:20 +02:00
Michael Snoyman
19f13fa3c7 Scaffolding update 2013-12-04 07:00:28 +02:00
Michael Snoyman
a2851c929c Merge branch 'master' into wai-2.0
Conflicts:
	yesod-bin/Devel.hs
2013-12-02 08:00:37 +02:00
Michael Snoyman
6b2e4ef3a4 Switch to EMBED_REFRESH 2013-12-02 07:59:26 +02:00
Greg Weber
12d0832f50 add --interrupt-only so yesod does not interrupt on enter
Useful when running multiple jobs in the same shell
2013-11-22 16:15:35 -08:00
Greg Weber
84c53fb74f add embed-refresh flag 2013-11-22 16:14:42 -08:00
Greg Weber
7915510322 hlint & compiler warnings
also tried out embeding the refresh file
2013-11-19 11:24:59 -08:00
Greg Weber
8390802a6b randomly show one motivational refresh messages 2013-11-19 11:24:59 -08:00
Michael Snoyman
089f8f1e12 Ignore sandbox files #620 2013-11-14 21:10:26 +02:00
Michael Snoyman
d34c3f26dc WAI 2.0 updates 2013-11-10 16:49:26 +02:00
Michael Snoyman
294641c404 Version bumps 2013-11-10 07:48:01 +02:00
HugoDaniel
178a0c8052 Using CL.map in readIt 2013-11-07 11:15:40 +00:00
HugoDaniel
ec8edc92f1 Listing files into a hsfiles file is now simpler 2013-11-07 09:58:34 +00:00
Greg Weber
1722d32666 done message should reference the sandbox 2013-10-29 20:51:47 -07:00
Michael Snoyman
0c386c9f46 Replace ghcError with throwGhcException #612 2013-10-15 10:33:45 +03:00
Michael Snoyman
978d6a80da optparse-applicative 0.6 #610 2013-10-13 11:27:00 +03:00
Michael Snoyman
c876974656 version bumps 2013-09-10 20:43:42 +03:00
Michael Snoyman
94e4310a9c --bare option to init #515 2013-09-08 17:17:05 +02:00
Michael Snoyman
759eb4154b Scaffolding tweak 2013-09-08 14:20:27 +02:00
Michael Snoyman
db17c0ade1 shakespeare 1.2/version bumps 2013-09-08 13:48:24 +02:00
Michael Snoyman
e29cd12ff8 Version bumps 2013-09-08 10:46:37 +02:00
Michael Snoyman
01738f354f Scaffolding updates 2013-08-18 18:33:32 +03:00