1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-11-12 21:07:04 +03:00
ormolu/.github/workflows/build.sh
amesgen dec158c58b add workflow for release binaries
see e.g. https://stackoverflow.com/a/61066906 for why `published` is
used as the release trigger
2020-09-06 20:38:33 +02:00

8 lines
168 B
Bash

set -e
cabal update
cabal build exe:ormolu --enable-executable-static --ghc-options="-split-sections"
cp $(find dist-newstyle -name ormolu -type f) .
strip -s ormolu