Commit Graph

323 Commits

Author SHA1 Message Date
Michael Snoyman
4c7dc5caaf Scaffolding update 2015-08-04 16:44:18 +03:00
Michael Snoyman
896d2f9236 Allow fsnotify 0.2 2015-07-26 21:49:57 +03:00
Heath Ritchie
37b2c6e095 Change done.cg to refer to 'stack build'
Remove instruction to use cabal install.
Instead direct users to use 'stack build', as is suggested in the quickstart
guide.
2015-07-25 10:40:39 -04:00
Michael Snoyman
2d33f90803 Version bump 2015-07-23 06:15:12 +03:00
Bryan Richter
7851a660a7
Use stack only if stack.yaml exists 2015-07-22 16:45:36 -07:00
Bryan Richter
c6499bbe91
WIP for #1039
This works, but ignores previous cabal(-dev) options. I'll work to add them
back in now.
2015-07-22 13:16:18 -07:00
Bryan Richter
9fbfb62e68
Warning cleanup
Note that configCompilerEx was added in Cabal-1.18.0, not 1.22.
2015-07-22 13:10:50 -07:00
Michael Snoyman
46fbb1a615 Have to type quit to quit 2015-07-20 01:29:46 +03:00
Michael Snoyman
335df65eb8 Merge pull request #1008 from nathankot/generate-spec
Is there a reason why add-handler doesn't generate a spec file?
2015-07-07 08:43:00 -07:00
Adam Bergmark
79d87f1fd6 yesod-bin needs directory >= 1.2.1 due to System.Directory.findFiles 2015-06-30 07:56:55 +02:00
Michael Snoyman
a7cccf2a7c yesod devel support for stack 2015-06-29 08:14:04 +03:00
Michael Snoyman
5168baa94a Scaffolding update 2015-06-14 14:23:51 +03:00
Nathan Kot
7cffdf5f6c Generate spec file 2015-06-10 03:09:24 +09:00
Michael Snoyman
10c029c230 Add README about yesod-scaffold 2015-05-27 14:04:35 +03:00
Michael Snoyman
848b1ab3e5 Collapse paths in keter bundle 2015-05-19 08:17:46 +03:00
Michael Snoyman
814157a018 Fix build for project-template < 0.2 2015-05-17 11:25:12 +03:00
Michael Snoyman
ef9322914e Version bump 2015-05-17 10:35:30 +03:00
Michael Snoyman
0927468580 Merge branch 'yesod_init_args' of https://github.com/triplepointfive/yesod 2015-05-17 10:33:10 +03:00
Michael Snoyman
2d8507cbee Be slightly more verbose for #992 2015-05-17 10:31:40 +03:00
Ilya Smelkov
3af8426567 Add Generic typeclass to BackendInput and Backend 2015-05-13 17:42:17 +03:00
Michael Snoyman
ae555aa6f0 Drop system-filepath 2015-05-12 12:01:50 +03:00
Ilya Smelkov
50f0859e13 Validate input params before processing 2015-05-11 14:50:56 +03:00
Ilya Smelkov
ce268e451d yesod init accepts database 2015-05-11 14:40:52 +03:00
Ilya Smelkov
067a21c60f yesod init accepts app name 2015-05-09 00:07:44 +03:00
Michael Snoyman
a9bf0bf7ea Version bump 2015-04-29 13:57:58 +03:00
Michael Snoyman
d82a828d89 Scaffolding updates, including #982 2015-04-29 13:55:50 +03:00
Michael Snoyman
931caaa2c0 Allow lowercasing of scaffolded values #982 2015-04-29 13:29:40 +03:00
srayuws
a54d8376f8 update warp-tls's version 2015-04-19 15:33:16 +08:00
Michael Snoyman
1f19ca1752 Version bump 2015-04-17 11:59:49 +03:00
Michael Snoyman
3c898babfb Remove zlib upper bound 2015-04-16 19:06:44 +03:00
Michael Snoyman
067a96c85d Merge pull request #970 from wiz/master
Add `copy-to-args` section to keter.yaml which allows all kinds of options.
2015-04-16 17:48:41 +03:00
Alexander Bondarenko
31ae5fdee7 Add copy-to-args section to keter.yaml which allows all kinds of options. 2015-04-16 17:16:50 +03:00
Njagi Mwaniki
58a07b0ea3
Added conditional compilation so that yesod-bin/Devel.hs can pass travis-ci tests.
Signed-off-by: Njagi Mwaniki <mwanikibusiness@gmail.com>
2015-04-15 18:50:05 +03:00
Njagi Mwaniki
c3a05d1f7b
Updated yesod-bin/Devel.hs
Replaced deprecated function `configCompiler` with `configCompilerEx`
  Removed unused argument "_opts" from function `lockFile`
  Added newline before guards which I think makes it more beginner friendly.

Signed-off-by: Njagi Mwaniki <mwanikibusiness@gmail.com>
2015-04-15 17:14:45 +03:00
Michael Snoyman
97b6857912 Version bump 2015-04-05 16:51:12 +03:00
Arne Link
91829fc82a Add support for GHC 7.10.1 2015-04-03 16:34:08 +02:00
Michael Snoyman
c2e836bf3a Some user-facing TLS info (pinging @chrisdone @DanBurton) 2015-03-31 09:30:53 +03:00
Dan Burton
85f16d0e9f Used race_ for clarity 2015-03-30 13:10:02 -07:00
Dan Burton
6562e6067c Second reverseproxy now handles incoming https requests 2015-03-30 12:57:07 -07:00
Dan Burton
2e573f440a Add a second reverse proxy for tls 2015-03-26 13:41:50 -07:00
Michael Snoyman
c7d41f2395 Scaffold updates 2015-03-22 14:05:37 +02:00
Joomy Korkut
54d1c2d8a0 Added command-line args option to yesod-bin add-handler (resolves #892) 2015-03-19 09:33:04 -04:00
Michael Snoyman
70c51d29fc nocopyto switch (closes #952) 2015-03-12 09:15:49 +02:00
Michael Snoyman
d83bcb62a1 Version bump 2015-03-06 07:30:45 +00:00
Bryan Richter
5b9e616ee2 Minor refactor of keter function 2015-03-04 09:55:03 -08:00
Bryan Richter
6b43e08f89 Add and process Keter option 'extraFiles' 2015-03-04 09:31:26 -08:00
Michael Snoyman
94b8842813 Version bump 2015-03-01 13:51:19 +02:00
Michael Snoyman
af600271bf Missing changes 2015-03-01 13:50:21 +02:00
Michael Snoyman
ed1d6ad6bb Version bump 2015-03-01 13:39:48 +02:00
Paul Rouse
5281d7aa3e Remain compatible with pre-0.4.7 http-client 2015-03-01 11:20:19 +00:00
Paul Rouse
e69ea760e1 Version bound on http-client 2015-03-01 08:17:20 +00:00
Paul Rouse
761e7dd374 Disregard proxy environment variables in yesod devel 2015-02-28 21:38:11 +00:00
Michael Snoyman
d1cfe481fd Scaffolding update: minimal uses yesod-core 2015-02-24 18:32:41 +02:00
Harold Lee
f8fb6d3dc3 Improve error message when "yesod devel" complains about the GHC version.
I hit this problem and the fix was to reinstall yesod-bin (because I'd
upgraded my version of ghc):

    cabal install --reinstall yesod-bin

See issue #476.
2015-02-22 13:35:13 -08:00
Michael Snoyman
a9ff4f44a6 Scaffolding update 2015-02-16 10:39:45 +02:00
Michael Snoyman
7cc9700774 Updated scaffolding 2015-02-08 09:58:24 +02:00
Michael Snoyman
c4824b9ceb Version bump 2015-02-04 18:52:29 +02:00
Maximilian Tagher
54cd923ed5 Fix add-handler putting two routes on one line
* If there is a new line at the end of the file, add the route as normal
* If there isn't, add a newline character before the route
* Closes #921
2015-02-04 08:45:01 -08:00
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