Skip to content
Snippets Groups Projects
Commit b2322310 authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

Hadrian: Allow passing CABFLAGS into build.cabal.sh

Setting `CABFLAGS=args` will pass the additional arguments to cabal
when it is invoked.
parent 2f453414
No related merge requests found
#!/usr/bin/env bash
CABAL=cabal
CABFLAGS="--disable-documentation --disable-profiling --disable-library-profiling"
CABFLAGS="--disable-documentation --disable-profiling --disable-library-profiling $CABFLAGS"
# It is currently more robust to pass Cabal an absolute path to the project file.
PROJ="$PWD/hadrian/cabal.project"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment