git.iko.soy/heroku-buildpack-stack
on master help sign in
Formatting, rev stack version.
commit3a799a677a069e9a2e1cf65adbbd9463d264869a authorMark Fine <mark.fine@gmail.com> dateSat 25 Mar 2017, 10:01 (10 years ago) parentc330c89
2 files changed+8−3
README.md+7−2 bin/compile+1−1
README.md+7−2
@@ -37,9 +37,14 @@ before compilation, the `stack.yaml` will be substituted as follows:
3737
3838
3939### Makefile Support
40−This buildpack now supports an optional Makefile, in case you need to coordinate other build steps with Stack. It assumes that the Makefile includes a `make install` target that uses the Stack build command with the flag `--copy-bins`. For example, a possible `install` target configuration in the Makefile could be:
4140
42− install: stack build --copy-bins
41+This buildpack now supports an optional Makefile, in case you need to coordinate
42+other build steps with Stack. It assumes that the Makefile includes a `make
43+install` target that uses the Stack build command with the flag `--copy-bins`.
44+For example, a possible `install` target configuration in the Makefile could be:
45+
46+ install:
47+ stack build --copy-bins
4348
4449[1]: https://github.com/mfine/heroku-buildpack-stack
4550[2]: http://devcenter.heroku.com/articles/buildpacks
bin/compile+1−1
@@ -63,7 +63,7 @@ speak "Restoring $LIBGMP_VER files from cache"
6363cp -Rp "$LIBGMP_DIR/ghc-libs/." "$WORK_DIR/vendor/ghc-libs"
6464
6565########## stack exe ###############################################
66−STACK_VER=${STACK_VER:-1.2.0}
66+STACK_VER=${STACK_VER:-1.4.0}
6767STACK_URL=${STACK_URL:-https://github.com/commercialhaskell/stack/releases/download/v"$STACK_VER"/stack-"$STACK_VER"-linux-x86_64.tar.gz}
6868STACK_DIR="$CACHE_DIR/stack-$STACK_VER"
6969STACK_EXE="$STACK_DIR/stack"