Commit Graph

19 Commits

Author SHA1 Message Date
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
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
Bryan Richter
3cae60bb88
Add build-args option to keter subcommand 2015-08-11 08:22:51 -07: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
848b1ab3e5 Collapse paths in keter bundle 2015-05-19 08:17:46 +03:00
Michael Snoyman
ae555aa6f0 Drop system-filepath 2015-05-12 12:01:50 +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
Michael Snoyman
70c51d29fc nocopyto switch (closes #952) 2015-03-12 09:15:49 +02: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
a2563c8d05 yesod keter: support for new config file format 2014-09-21 10:42:53 +03: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
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
Michael Snoyman
f43c7fd3e4 copy-to-port #724 2014-04-24 06:38:53 +03:00
Michael Snoyman
7cde3d4bdb Put binaries into yesod-bin (fixes #514) 2013-03-20 08:58:27 +02:00