Commit Graph

300 Commits

Author SHA1 Message Date
Erik de Castro Lopo
c736b309bb yesod-bin: Make it build with latest optparse-applicative
Done with CPP hackery so the lower bound can remain unchanged.
2016-09-28 07:59:04 +10:00
Michael Snoyman
1029cc4e8e Version bump for #1281 2016-09-26 14:45:01 +03:00
Martijn Rijkeboer
0017b4441b Link yesod-bin with wxneeded on OpenBSD. 2016-09-26 13:40:28 +02:00
Michael Snoyman
d1495bad85 Fix add-handler (fixes #1273) 2016-09-04 08:55:10 +03:00
Michael Snoyman
b5ea4326f9 Work around optparse-applicative behavior change 2016-05-25 08:44:36 +03:00
Michael Snoyman
120c236fc5 More changelog updates 2016-04-20 20:12:30 +03:00
Michael Snoyman
8cbfb100fb Update changelog 2016-04-20 20:12:03 +03:00
Josh Berman
580eb46563 narrower exception type for stack check; only a patch number bump 2016-04-20 19:48:23 +03:00
Josh Berman
1038fc0125 error handling when checking for stack binary 2016-04-20 16:43:06 +03:00
Erik de Castro Lopo
833e74e797 yesod-bin: Fixes for ghc-8.0 2016-04-19 15:18:46 +10:00
Erik de Castro Lopo
04944de436 yesod-bin: Improve the 'use stack' message
Use `putStrLn` instead of `error` because ghc-8.0 prints call stack
info for `error` calls.
2016-04-19 08:59:38 +10:00
Michael Snoyman
814ad379b6 Disable yesod test for Stack (fixes #1198) 2016-03-28 20:26:42 +03:00
Luigy Leon
f576a8a435 only perform checks when it needs to build 2016-02-19 15:42:42 -05:00
Luigy Leon
d87499deb5 [yesod-bin] improve stack detection for 'stack keter'
The following will now use stack:

* `stack query` succeeds from current directory instead of searching that a `stack.yaml` exists
* `STACK_YAML` or `STACK_EXE`(set by `stack exec`) environment variables are set
2016-02-19 12:21:02 -05:00
Michael Snoyman
d4a907d4e8 tar 0.5 2016-01-10 17:23:06 +02:00
Michael Snoyman
3228b40843 Fully remove the yesod init command (fixes #1132) 2015-12-30 09:04:29 +02:00
Michael Snoyman
1fb697ff0d Add a workaround for yesodweb/wai#478 2015-12-06 13:29:17 +02:00
Michael Snoyman
288c457cfa Version bump for yesodweb/yesod-scaffold#114 2015-12-06 12:55:59 +02:00
Michael Snoyman
32dbad23d3 s/127.0.0.1/localhost yesodweb/yesod-scaffold#114 2015-12-06 12:55:16 +02:00
Michael Snoyman
af00b76a18 Set X-Forwarded-Proto correctly yesodweb/yesod-scaffold#114 2015-12-06 12:54:36 +02:00
Michael Snoyman
adc802d644 Version bump 2015-12-03 22:59:52 +02:00
Michael Snoyman
ae0d0b12c4 Deprecate yesod init in favor of stack new 2015-09-07 10:06:53 +03:00
Michael Snoyman
ce456d48c7 Correctly reverse package-db argument order (fixes #1057) 2015-08-20 08:49:28 +03:00
Michael Snoyman
6b3a5c1b11 Scaffolding update 2015-08-13 13:59:37 +03:00
Michael Snoyman
128165c19c Merge pull request #1054 from chreekat/keter-build-args
Add build-args to keter subcommand
2015-08-11 18:54:45 +03:00
Bryan Richter
3cae60bb88
Add build-args option to keter subcommand 2015-08-11 08:22:51 -07:00
Michael Snoyman
b5077abdd9 Version bump for scaffold 2015-08-04 16:48:11 +03:00
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