chore: strip binaries locally

This commit is contained in:
Gregor Kleen 2020-08-24 17:05:53 +02:00
parent f2971f66fd
commit 538cfcc6e9
7 changed files with 6 additions and 9 deletions

View File

@ -5,5 +5,5 @@ set -e
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
echo "Building..."
stack build --fast --flag uniworx:-library-only --flag uniworx:dev --no-strip $@
stack build --fast --flag uniworx:-library-only --flag uniworx:dev $@
echo "Done."

2
db.sh
View File

@ -5,7 +5,7 @@ set -e
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
stack build --fast --flag uniworx:-library-only --flag uniworx:dev --no-strip
stack build --fast --flag uniworx:-library-only --flag uniworx:dev
export SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true}
stack exec uniworxdb -- $@

View File

@ -15,4 +15,4 @@ if [[ -d .stack-work-doc ]]; then
trap move-back EXIT
fi
stack build --fast --flag uniworx:library-only --flag uniworx:dev --haddock --haddock-hyperlink-source --haddock-deps --haddock-internal --no-strip ${@}
stack build --fast --flag uniworx:library-only --flag uniworx:dev --haddock --haddock-hyperlink-source --haddock-deps --haddock-internal ${@}

View File

@ -4,4 +4,4 @@ set -e
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
exec -- stack build --test --fast --flag uniworx:dev --flag uniworx:library-only --no-strip uniworx:test:hlint
exec -- stack build --test --fast --flag uniworx:dev --flag uniworx:library-only uniworx:test:hlint

View File

@ -5,6 +5,6 @@ set -e
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
stack build --fast --flag uniworx:-library-only --flag uniworx:dev --no-strip
stack build --fast --flag uniworx:-library-only --flag uniworx:dev
stack exec uniworxload -- $@

View File

@ -69,6 +69,3 @@ extra-deps:
resolver: nightly-2020-08-08
compiler: ghc-8.10.2
allow-newer: true
ghc-options:
"$everything": -g

View File

@ -17,4 +17,4 @@ if [[ -d .stack-work-test ]]; then
trap move-back EXIT
fi
stack build --test --coverage --fast --flag uniworx:dev --flag uniworx:library-only --no-strip ${@}
stack build --test --coverage --fast --flag uniworx:dev --flag uniworx:library-only ${@}