Commit Graph

284 Commits

Author SHA1 Message Date
Michael Snoyman
896ee9c644
Version bump and close #1413 2017-08-04 16:30:58 +03:00
GyuYong Jung
854f823059 add src/ to file path if Haskell source files in src
Fixes #1413
2017-08-04 15:40:28 +09:00
Michael Snoyman
3b8ca1d3d1
Bad CPP 2017-08-04 08:12:55 +03:00
Michael Snoyman
a4eee30930
Cabal 2.0 support 2017-07-31 09:55:19 +03:00
Sibi Prabakaran
3350ca3d9a
Remove flag conditional 2017-04-27 17:49:21 +05:30
Sibi Prabakaran
10b5d4f8e2
Remove debug option 2017-04-27 17:40:32 +05:30
Sibi Prabakaran
67eb728703
Make updateAppPort as a single STM transaction 2017-04-27 17:08:12 +05:30
Sibi Prabakaran
35e0095590
Add releavant flag in yesod-bin 2017-04-26 20:57:13 +05:30
Sibi Prabakaran
37c9d25990
Add Debug flag 2017-04-26 20:56:58 +05:30
Sibi Prabakaran
706de89156
Change logic to use TVar 2017-04-26 19:37:59 +05:30
Sibi Prabakaran
62d7a19149
Fix warnings 2017-04-24 21:51:13 +05:30
Sibi Prabakaran
c37283e300
Update Changelog and do version bump 2017-04-24 20:39:20 +05:30
Sibi Prabakaran
878534a272
Fix race condition in yesod-bin
Stack build process emittles line even after successful build process
which leads to the overwriting of the appPortVar with -1. This leads
it to a compile mode again. Pressing Return Key and rebuilding it
again makes it go, but that's just a workaround I have to do every now
and then to solve the actual issue.

I'm using a `MVar` based locking solution for fixing the race
condition introduced.
2017-04-24 20:33:52 +05:30
Michael Snoyman
039046e355
Another Nix workaround (fixes #1359) 2017-03-15 06:42:12 +02:00
Michael Snoyman
182b87e2d4
Version bump 2017-03-07 11:15:11 +02:00
Michael Snoyman
4f30dfca1e
Use --no-nix-pure #1357 2017-03-05 19:12:14 +02:00
Michael Snoyman
cdc6c8ae04 Version bumps/changelog updates 2017-02-08 11:20:31 +02:00
Michael Snoyman
3dc2d10b30 Compile with -Wall -Werror 2017-02-05 12:09:18 +02:00
Michael Snoyman
705b52f7eb Add --host option to yesod devel (fixes #975) 2016-12-21 14:27:52 +02:00
Michael Snoyman
58407c292e Fix a build failure 2016-11-29 13:51:02 +02:00
Michael Snoyman
a921d6cb31 Add caveat about possible Docker integration issues 2016-11-29 13:44:46 +02:00
Michael Snoyman
3883063ec2 Devel server indicates when recompilation is occurring
Pinging @amitaibu
2016-11-28 09:58:48 +02:00
Michael Snoyman
b1f1e4e222 Revert to runghc 2016-11-26 17:57:32 +02:00
Michael Snoyman
f3fc735a25 README.md, and some minor code cleanups 2016-11-24 07:51:54 +02:00
Michael Snoyman
ab4d6540ca Workaround for compatibility with older fsnotify 2016-11-23 15:59:58 +02:00
Michael Snoyman
6048a2c9bf Got my logic backwards :( 2016-11-23 15:34:14 +02:00
Michael Snoyman
db3beff4f3 Some CPP for Cabal API changes 2016-11-23 15:19:27 +02:00
Michael Snoyman
03307a8cc8 Fix dependency problems for older snapshots 2016-11-23 15:05:41 +02:00
Michael Snoyman
83d3a12a23 Rewrite yesod devel based on Stack #1304
Please see ChangeLog for explanation.
2016-11-23 13:59:56 +02:00
Michael Snoyman
1aed870e0b Proper version bump for #1284 2016-10-07 17:03:54 +03:00
Michael Snoyman
c86efd3294 Merge branch '1284-yesod-bin-ghc-8' 2016-10-07 17:03:15 +03:00
Michael Snoyman
1753569e95 Version bump and close #1284 2016-10-06 14:38:09 +03:00
Michael Snoyman
69f07111c0 Do not pass a local package ID for GHC 8 #1284 2016-10-06 13:24:21 +03:00
Michael Snoyman
57d0dab991 Version bump for #1282 2016-09-28 09:59:58 +03:00
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