Sha256: c3a6ddaafc445781b46a42d8223e535a7244f427ac11074fa90e3e6e9a41cd6e
Contents?: true
Size: 399 Bytes
Versions: 92
Compression:
Stored size: 399 Bytes
Contents
#! /usr/bin/env bash if [[ ! -d "exercises" ]]; then echo "exercises directory not found!" exit 1 fi tar czf exercises.tgz exercises pushd $_ err_cnt=0 for ex in *; do pushd $ex mv example.el "${ex}.el" emacs -batch -l ert -l "${ex}-test.el" -f ert-run-tests-batch-and-exit let "err_cnt += $?" popd done popd tar xzf exercises.tgz rm $_ [ $err_cnt -eq 0 ] || exit 1
Version data entries
92 entries across 92 versions & 1 rubygems