source-engine/scripts/tests-macos-amd64.sh
Er2 12f4148608 Allow installation to global directories.
This commit now install everything with FHS-compliant structure
(/usr/local/bin/hl2_launcher and lib/libtier0.so lib/lib...).

Binaries and libraries now uses rpath and not depends on local bin/
directory unlike original Valve's Source.
2023-05-01 13:20:36 +03:00

8 lines
209 B
Bash
Executable File

#!/bin/sh
git submodule init && git submodule update
./waf configure -T release --sanitize=address,undefined --disable-warns --tests -8 --prefix=out/ $* &&
./waf install &&
cd out &&
./bin/unittest || exit 1