mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-28 22:46:22 +03:00
72a1b75e70
* 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
10 lines
206 B
Bash
10 lines
206 B
Bash
# This is a comment
|
|
export PATH=~/.cabal/bin:/usr/local/bin:$PATH
|
|
|
|
cabal sandbox delete # kill it with fire!
|
|
cabal sandbox init
|
|
cabal clean
|
|
cabal update
|
|
cabal install --only-dependencies -j
|
|
cabal build -j
|