Tool to transform OLTP database schemas to OLAP database schemas automatically
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_sdist 425B

123456789101112131415
  1. #!/bin/sh
  2. set -e
  3. SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}');
  4. cd $DIST_DIR;
  5. if [ -f "$SRC_TGZ" ]; then
  6. cabal install --only-dependencies "$SRC_TGZ";
  7. cp $HOME/.ghc/$ARCH-$GHC_VER/package.conf.d/package.cache package.cache.bak
  8. cabal install "$SRC_TGZ";
  9. rm "$SRC_TGZ";
  10. mv package.cache.bak $HOME/.ghc/$ARCH-$GHC_VER/package.conf.d/package.cache
  11. else
  12. echo "expected '$SRC_TGZ' not found";
  13. exit 1;
  14. fi