Skip to main content

scripts/run_dominant_colours_tests.sh

1#!/usr/bin/env bash
3set -o errexit
4set -o nounset
6# Print a command in blue, then run the command
7run_command() {
8 echo ""
9 echo -e "\033[34m-> $@\033[0m"
10 bash -c "$@"
13run_command "cargo fmt --check"
14run_command "cargo build"
15run_command "cargo test"