chore: don't strip binaries (for debugging)
This commit is contained in:
parent
9e9e53e76a
commit
447c710d4e
@ -88,7 +88,7 @@ yesod:build:dev:
|
|||||||
|
|
||||||
stage: yesod:build
|
stage: yesod:build
|
||||||
script:
|
script:
|
||||||
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic
|
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --no-strip
|
||||||
needs:
|
needs:
|
||||||
- frontend:build
|
- frontend:build
|
||||||
before_script: &haskell
|
before_script: &haskell
|
||||||
@ -120,7 +120,7 @@ yesod:build:
|
|||||||
|
|
||||||
stage: yesod:build
|
stage: yesod:build
|
||||||
script:
|
script:
|
||||||
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic
|
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
||||||
needs:
|
needs:
|
||||||
- frontend:build
|
- frontend:build
|
||||||
before_script: *haskell
|
before_script: *haskell
|
||||||
|
|||||||
2
build.sh
2
build.sh
@ -5,5 +5,5 @@ set -e
|
|||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
echo "Building..."
|
echo "Building..."
|
||||||
stack build --fast --flag uniworx:-library-only --flag uniworx:dev $@
|
stack build --fast --flag uniworx:-library-only --flag uniworx:dev --no-strip $@
|
||||||
echo "Done."
|
echo "Done."
|
||||||
|
|||||||
2
db.sh
2
db.sh
@ -5,7 +5,7 @@ set -e
|
|||||||
|
|
||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
stack build --fast --flag uniworx:-library-only --flag uniworx:dev
|
stack build --fast --flag uniworx:-library-only --flag uniworx:dev --no-strip
|
||||||
|
|
||||||
export SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true}
|
export SERVER_SESSION_ACID_FALLBACK=${SERVER_SESSION_ACID_FALLBACK:-true}
|
||||||
stack exec uniworxdb -- $@
|
stack exec uniworxdb -- $@
|
||||||
|
|||||||
@ -15,4 +15,4 @@ if [[ -d .stack-work-doc ]]; then
|
|||||||
trap move-back EXIT
|
trap move-back EXIT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stack build --fast --flag uniworx:library-only --flag uniworx:dev --haddock --haddock-hyperlink-source --haddock-deps --haddock-internal ${@}
|
stack build --fast --flag uniworx:library-only --flag uniworx:dev --haddock --haddock-hyperlink-source --haddock-deps --haddock-internal --no-strip ${@}
|
||||||
|
|||||||
2
hlint.sh
2
hlint.sh
@ -4,4 +4,4 @@ set -e
|
|||||||
|
|
||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
exec -- stack build --test --fast --flag uniworx:dev --flag uniworx:library-only uniworx:test:hlint
|
exec -- stack build --test --fast --flag uniworx:dev --flag uniworx:library-only --no-strip uniworx:test:hlint
|
||||||
|
|||||||
2
load.sh
2
load.sh
@ -5,6 +5,6 @@ set -e
|
|||||||
|
|
||||||
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :
|
||||||
|
|
||||||
stack build --fast --flag uniworx:-library-only --flag uniworx:dev
|
stack build --fast --flag uniworx:-library-only --flag uniworx:dev --no-strip
|
||||||
|
|
||||||
stack exec uniworxload -- $@
|
stack exec uniworxload -- $@
|
||||||
|
|||||||
@ -69,3 +69,6 @@ extra-deps:
|
|||||||
resolver: nightly-2020-08-08
|
resolver: nightly-2020-08-08
|
||||||
compiler: ghc-8.10.2
|
compiler: ghc-8.10.2
|
||||||
allow-newer: true
|
allow-newer: true
|
||||||
|
|
||||||
|
ghc-options:
|
||||||
|
"$everything": -g
|
||||||
|
|||||||
2
test.sh
2
test.sh
@ -17,4 +17,4 @@ if [[ -d .stack-work-test ]]; then
|
|||||||
trap move-back EXIT
|
trap move-back EXIT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stack build --test --coverage --fast --flag uniworx:dev --flag uniworx:library-only ${@}
|
stack build --test --coverage --fast --flag uniworx:dev --flag uniworx:library-only --no-strip ${@}
|
||||||
|
|||||||
Reference in New Issue
Block a user