File: run.sh

package info (click to toggle)
python-rcssmin 1%3A1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,172 kB
  • sloc: python: 2,264; ansic: 1,216; sh: 66; makefile: 19
file content (15 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -ex

base="$(dirname -- "${0}")"
base="$(dirname -- "$(cd "${base:-.}" && pwd)")"
cd "${base}"

pyv="$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')"

out="${base}/bench/.out.${pyv}"
: >"${out}"


CFLAGS=-O3 pip install -vv -e .
python -OO bench/main.py -p >( cat - >>"$out" ) bench/*.css