mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +03:00
CI: Travis: build.sh: BUILD_PROJECT: add: handling of generation of complettions
This commit is contained in:
parent
c752af84ef
commit
fde7abfc39
11
build.sh
11
build.sh
@ -65,6 +65,17 @@ allowInconsistentDependencies=${allowInconsistentDependencies:-'false'}
|
||||
ghcjsTmpLogFile=${ghcjsTmpLogFile:-'/tmp/ghcjsTmpLogFile.jog'}
|
||||
ghcjsLogTailLength=${ghcjsLogTailLength:-'10000'}
|
||||
|
||||
|
||||
if [ "$generateOptparseApplicativeCompletion" = 'true' ]
|
||||
then
|
||||
# NOTE: Enable shell complition generation
|
||||
generateOptparseApplicativeCompletion="--arg generateOptparseApplicativeCompletion $name $pkgName"
|
||||
else
|
||||
# NOTE: Skip the shell complition generation
|
||||
generateOptparseApplicativeCompletion=''
|
||||
fi
|
||||
|
||||
|
||||
if [ "$GHCVERSION" = "ghcjs" ]
|
||||
then
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user