Commit Graph

134 Commits

Author SHA1 Message Date
mrkkrp
01a30ee43d Ensure that target directories for ‘scp’ actually exist
This is necessary because ‘scp’ has fewer options than normal ‘cp’ and so it
lacks flags that would prevent failing because of missing target location.
We add there these commands to ensure that copying of files always succeeds.
2017-02-21 19:45:56 +03:00
mrkkrp
3ce20a127f Fix a typo: ‘-P’ flag sets SSH port of ‘scp’ command 2017-02-21 19:45:28 +03:00
mrkkrp
ca396d19eb Restart command should be run after release activation 2017-02-21 19:44:54 +03:00
mrkkrp
91b7ad3ecf Reduce verbosity of some command to make reading logs easier 2017-02-21 19:43:47 +03:00
mrkkrp
5201b3eb9b Version bump (0.3.0.0)
[skip ci]
2017-02-20 21:06:34 +03:00
mrkkrp
494134e702 Mention the ability to copy files and dirs in changelog
[skip ci]
2017-02-20 20:56:55 +03:00
Mark Karpov
d791dd164e Add support for copying files and directories (#58) 2017-02-20 19:09:21 +04:00
Mark Karpov
e8b1d7a8d9 Use ‘hap.yaml’ to store configuration (#57) 2017-02-20 18:33:12 +04:00
Mark Karpov
7727061493 Add verification before rollbacks (#53) 2017-02-08 20:16:53 +04:00
Mark Karpov
72a1b75e70 Refactor/rewrite all the code (#52)
* Refactor/rewrite all the code

The change prepares solid ground for further improvements. This also fixes
at least two bugs:

* Proper support for empty lines and comments in build scripts.

* Previously switching to new releases was not atomic despite messing with
  symlinks. This is because it deleted the current link before creating the
  new one, but it should have created a new link and then use ‘mv’ to
  replace the old one atomically. The code has been changed to work properly
  now.

* Refresh the test suite as well

* Fix the build for older GHCs

* Use subshell for ‘cd’ commands
2017-02-06 19:04:00 +04:00
mrkkrp
7c65c4c2bc Infer, refresh the change log 2017-01-29 17:54:22 +03:00
Mark Karpov
d66bb9b0db Use a different Travis script plus more (#51)
We should test with Cabal, not stack, because it allows to test in more
adverse environment, test with GHC versions that are not yet in snapshorts,
and generally improve compatibility.

This script tests with Cabal 1.24, as it's compatible with all GHC versions
of interest and has a better dependency resolution algorithm that allows to
avoid some problems with builds.

I also would like to impose 100% Haddock coverage here.
2017-01-29 18:25:02 +04:00
mrkkrp
d62161e5d7 Refresh ‘stack.yaml’ 2017-01-28 16:45:47 +03:00
Cristhian Motoche
c6dd1bc640 Parse env variable PORT (#39) 2017-01-28 17:43:45 +04:00
Juan Paucar
8c760cff32 Support comments and empty lines (#44) 2017-01-28 17:08:37 +04:00
Cristhian Motoche
64dd271aa5 Add optparse-applicative for parsing args (#46) 2017-01-28 17:05:37 +04:00
Juan Pedro Villa Isaza
1b6e2c1010 Add version constraints to dependencies (Close #42) 2016-11-15 08:49:03 -05:00
Omar Ahmed
71e9f29e1d Fix #42 2016-11-14 19:10:34 -05:00
Juan Pedro Villa Isaza
e68b2ab052 Bump version to 0.2.1.2 [ci skip] 2016-05-30 13:32:01 -05:00
Juan Pedro Villa Isaza
d7c61a97b5 Allow base 4.9 for GHC 8 2016-05-30 13:22:41 -05:00
Juan Pedro Villa Isaza
af17611767 Merge pull request #37 from stackbuilders/change-travis
Update travis.yml to works with stack
2016-03-04 09:48:59 -05:00
CristhianMotoche
83ac8ff9d3 Update travis.yml to works with stack 2016-02-25 09:56:37 -05:00
Juan Pedro Villa Isaza
790c5f680c Merge pull request #34 from stackbuilders/handle-command-line-options/issue-33
Handle command line options with GetOpt
2016-02-24 13:15:21 -05:00
Juan Pedro Villa Isaza
01d1390036 Add README.md to extra-source-files [ci skip] 2015-09-25 10:34:57 -05:00
Juan Pedro Villa Isaza
19fbe543a1 Add a change log file (Close #23) 2015-09-25 09:58:06 -05:00
Juan Pedro Villa Isaza
e5b2a83cb2 Handle missing environment variables 2015-09-24 18:01:25 -05:00
Juan Pedro Villa Isaza
d4c623b45a Handle command line options with GetOpt (Close #33) 2015-09-24 16:18:00 -05:00
Juan Pedro Villa Isaza
5646acc44e Bump version to 0.2.1.1 [ci skip] 2015-09-24 10:39:51 -05:00
Juan Pedro Villa Isaza
2474a5ad63 Merge pull request #32 from stackbuilders/fix-tests/issue-31
Fix Git configuration for tests
2015-09-24 10:36:57 -05:00
Juan Pedro Villa Isaza
ca5c7a28ad Configure Git to fix tests 2015-09-24 10:19:30 -05:00
Juan Pedro Villa Isaza
2574758102 Bump version to 0.2.1 [ci skip] 2015-09-23 13:21:03 -05:00
Juan Pedro Villa Isaza
1fe423f690 Merge pull request #29 from stackbuilders/fix-tests/issue-25
Fix tests on Linux
2015-09-23 10:38:00 -05:00
Juan Pedro Villa Isaza
ada5961a5f Remove unused runCommand function 2015-09-23 09:20:24 -05:00
Juan Pedro Villa Isaza
baccedde47 Enable tests 2015-09-23 09:02:44 -05:00
Juan Pedro Villa Isaza
41503107b0 Fix tests on Linux 2015-09-22 20:13:51 -05:00
Juan Pedro Villa Isaza
0fe21eeee0 Add Haskell.gitignore [ci skip] 2015-09-19 09:46:00 -05:00
Juan Pedro Villa Isaza
46b4e52f25 Use LTS 3.5 [ci skip] 2015-09-14 17:06:27 -05:00
Juan Pedro Villa Isaza
09fc023bfd Fix cache of dependencies 2015-09-10 15:14:58 -05:00
Juan Pedro Villa Isaza
dfa01d4913 Cache dependencies 2015-09-09 17:08:36 -05:00
Juan Pedro Villa Isaza
85af32e82a Merge pull request #24 from stackbuilders/chore/upgrade-travis-infrastructure/issue-21
Upgrade Travis CI to container-based infrastructure
2015-09-09 17:01:30 -05:00
Juan Pedro Villa Isaza
daa7547178 Upgrade Travis CI to container-based infrastructure 2015-09-09 15:58:25 -05:00
Juan Pedro Villa Isaza
021317c2d3 Merge pull request #22 from stackbuilders/chore/clean-up-package/issue-20
Clean up (Cabal) package
2015-09-09 14:19:12 -05:00
Juan Pedro Villa Isaza
c6fb4becfc Clean up (Cabal) package 2015-09-09 14:05:20 -05:00
Juan Pedro Villa Isaza
fc662b46d8 Use Stack (LTS 3.4) [ci skip] 2015-09-09 10:42:07 -05:00
Juan Pedro Villa Isaza
4d62f70d06 Add System.HapistranoSpec to test suite 2015-09-09 10:38:31 -05:00
Juan Paucar
4253a3906a Bump version to 0.2.0.2 2015-05-12 09:56:22 -05:00
Juan Paucar
2f921e86b9 Change travis badge for master only 2015-05-12 09:55:54 -05:00
Juan Paucar
653b1239df Merge pull request #16 from stackbuilders/add_ghc_7_10_support
Add ghc 7 10 support
2015-05-11 13:38:22 -05:00
Juan Paucar
e73ef58f67 Use time-locale-compat library 2015-05-11 08:05:15 -05:00
Juan Paucar
253c43d239 Remove cabal test from travis file 2015-05-10 12:45:45 -05:00