chinampa/.milpa/commands/dev/test.sh
Roberto Hidalgo 725347ec48 error on unexpected arguments, test out logger, add .milpa
courtesy of the department of departamental recursiveness
2023-03-20 22:18:09 -06:00

13 lines
274 B
Bash

#!/usr/bin/env bash
# SPDX-License-Identifier: Apache-2.0
# Copyright © 2022 Roberto Hidalgo <chinampa@un.rob.mx>
set -e
if [[ "$MILPA_OPT_COVERAGE" ]]; then
rm -rf coverage
milpa dev test unit --coverage
milpa dev test coverage-report
else
milpa dev test unit
fi