File: run-benchmarks

package info (click to toggle)
haskell-system-filepath 0.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 140 kB
  • sloc: haskell: 1,080; sh: 60; makefile: 2
file content (21 lines) | stat: -rwxr-xr-x 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
if [ ! -f 'system-filepath.cabal' ]; then
	echo -n "Can't find system-filepath.cabal; please run this script as"
	echo -n " ./scripts/run-benchmarks from within the system-filepath source"
	echo " directory"
	exit 1
fi

. scripts/common.bash

require_cabal_dev

rm -rf dist
cabal-dev install || exit 1

pushd benchmarks
rm -rf dist
$CABAL_DEV -s ../cabal-dev install || exit 1
popd

cabal-dev/bin/system-filepath_benchmarks $@