Skip to content

Commit

Permalink
Use stack clean when building.
Browse files Browse the repository at this point in the history
The current version of stack is unable to [detect changes in
hamlet](yesodweb/yesod#1551).

This updates the buildpack to always clean out the old build, so even
though the change to hamlet files is not detected, they will be rebuilt
anyway.

The issue with stack [should be
fixed](https://github.com/commercialhaskell/stack/blob/aae15e3ae5767febe9fcad36bf5a5e184c635de1/ChangeLog.md)
in the next release.
  • Loading branch information
StevenXL committed Aug 31, 2018
1 parent 95cb677 commit bc2b0a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/compile
Expand Up @@ -100,6 +100,7 @@ if [ -f "$BUILD_DIR/Makefile" ]; then
make install
else
stack setup
stack clean
stack build --copy-bins
fi

Expand Down

0 comments on commit bc2b0a6

Please sign in to comment.