You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that at least one previously reported issue has stemmed from the fact that CircleCI configuration does not test for validity of the built package.
I do not use CircleCI yet, so it would take a little bit more work for me to submit a patch, but here is how I do it on Travis CI:
# tests that a source-distribution can be generated
- cabal-$CABALVER sdist
- echo "Package distribution built."# check that the generated source-distribution can be built & installed
- export SRC_TGZ=$(cabal-$CABALVER info . | awk '{print $2 ".tar.gz";exit}') ;cd dist/;if [ -f "$SRC_TGZ" ]; thencabal-$CABALVER sandbox initcabal-$CABALVER install "$SRC_TGZ";elseecho "expected '$SRC_TGZ' not found";exit 1;fi
- echo "Package built successfully!"
The text was updated successfully, but these errors were encountered:
It seems that at least one previously reported issue has stemmed from the fact that CircleCI configuration does not test for validity of the built package.
I do not use CircleCI yet, so it would take a little bit more work for me to submit a patch, but here is how I do it on Travis CI:
The text was updated successfully, but these errors were encountered: