~ubuntu-branches/ubuntu/vivid/haskell-system-filepath/vivid

« back to all changes in this revision

Viewing changes to scripts/run-benchmarks

  • Committer: Package Import Robot
  • Author(s): Joachim Breitner
  • Date: 2014-06-19 13:31:22 UTC
  • mfrom: (3.3.1 sid)
  • Revision ID: package-import@ubuntu.com-20140619133122-jrv4ydv9nupckr4g
Tags: 0.4.12-1
* Adjust watch file to new hackage layout
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
if [ ! -f 'system-filepath.cabal' ]; then
3
 
        echo -n "Can't find system-filepath.cabal; please run this script as"
4
 
        echo -n " ./scripts/run-benchmarks from within the system-filepath source"
5
 
        echo " directory"
6
 
        exit 1
7
 
fi
8
 
 
9
 
. scripts/common.bash
10
 
 
11
 
require_cabal_dev
12
 
 
13
 
rm -rf dist
14
 
cabal-dev install || exit 1
15
 
 
16
 
pushd benchmarks
17
 
rm -rf dist
18
 
$CABAL_DEV -s ../cabal-dev install || exit 1
19
 
popd
20
 
 
21
 
cabal-dev/bin/system-filepath_benchmarks $@