alef 0.115.7

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export BATS_LIB_PATH="$SCRIPT_DIR/lib${BATS_LIB_PATH:+:$BATS_LIB_PATH}"
{% if categories %}
bats \
{% for category in categories %}
  "$SCRIPT_DIR/test_{{ category }}.bats"{% if not loop.last %} \
{% endif %}
{% endfor %}
{% else %}
echo 'error: no active Brew fixtures were generated' >&2
exit 1
{% endif %}