diff --git a/scripts/bump/README.md b/scripts/bump/README.md index ea5abf0d8..2a97c1dfe 100644 --- a/scripts/bump/README.md +++ b/scripts/bump/README.md @@ -41,3 +41,16 @@ To cross-compile for Linux (required for internal CI), run stack docker pull stack build --docker ``` + +This is a moving target, but if you don't end up with a static binary, add +`ghc-options: -optl-static -optl-pthread -fPIC` to your executables section. + +The binary can get quite large. Enabling split objects in your global config +can be quite effective in reducing it: + +`~/.stack/config.yaml`: + +``` +build: + split-objs: true +``` diff --git a/scripts/bump/package.yaml b/scripts/bump/package.yaml index 99a4123c3..aa0fabef7 100644 --- a/scripts/bump/package.yaml +++ b/scripts/bump/package.yaml @@ -1,5 +1,5 @@ name: bump -version: 0.2.0 +version: 0.2.1 dependencies: - base >= 4.7 && < 5