Filamat public headers were including a private header. This PR fixes this problem. It also forces filamat to always be compiled to avoid breaking filamat without noticing. The flag `-l` is not available anymore in build.sh as a result.
38 lines
600 B
Bash
Executable File
38 lines
600 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ ! "$TARGET" ]]; then
|
|
if [[ "$1" ]]; then
|
|
TARGET=$1
|
|
else
|
|
TARGET=release
|
|
fi
|
|
fi
|
|
|
|
echo "Building $TARGET target"
|
|
|
|
BUILD_DEBUG=
|
|
BUILD_RELEASE=
|
|
GENERATE_ARCHIVES=
|
|
RUN_TESTS=
|
|
|
|
if [[ "$TARGET" == "presubmit" ]]; then
|
|
BUILD_RELEASE=release
|
|
fi
|
|
|
|
if [[ "$TARGET" == "debug" ]]; then
|
|
BUILD_DEBUG=debug
|
|
GENERATE_ARCHIVES=-a
|
|
fi
|
|
|
|
if [[ "$TARGET" == "release" ]]; then
|
|
BUILD_RELEASE=release
|
|
GENERATE_ARCHIVES=-a
|
|
fi
|
|
|
|
if [[ "$TARGET" == "continuous" ]]; then
|
|
BUILD_DEBUG=debug
|
|
BUILD_RELEASE=release
|
|
GENERATE_ARCHIVES=-a
|
|
RUN_TESTS=-u
|
|
fi
|