diff options
Diffstat (limited to 'scripts/ci/steps/20-sdist.sh')
-rw-r--r-- | scripts/ci/steps/20-sdist.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/ci/steps/20-sdist.sh b/scripts/ci/steps/20-sdist.sh index bd8fbe1..ab98061 100644 --- a/scripts/ci/steps/20-sdist.sh +++ b/scripts/ci/steps/20-sdist.sh @@ -1,6 +1,13 @@ mkdir -p "$source_dir" mkdir -p "$build_dir" -cabal --sandbox-config="$sandbox_config" sdist --builddir="$build_dir" --output-directory="$source_dir" +cabal act-as-setup -- sdist --output-directory="$source_dir" + +if [ -d cabal-plan/ ]; then + ( + cd cabal-plan/ + cabal act-as-setup -- sdist --output-directory="$source_dir/cabal-plan" + ) +fi cd "$source_dir" |