Files
o3de/scripts/build/Platform/Linux/env_linux.sh
T
2021-06-23 10:55:22 -07:00

20 lines
377 B
Bash
Executable File

#!/usr/bin/env bash
#
# Copyright (c) Contributors to the Open 3D Engine Project
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
#
set -o errexit # exit on the first failure encountered
if ! command -v cmake &> /dev/null; then
echo "[ci_build] CMake not found"
exit 1
fi
if ! command -v ninja &> /dev/null; then
echo "[ci_build] Ninja not found"
exit 1
fi