Sha256: 45cb3413f28f391a06fe70b541a72c1d7577524aceba03801840f178fcbb50b1
Contents?: true
Size: 437 Bytes
Versions: 124
Compression:
Stored size: 437 Bytes
Contents
#! /usr/bin/env bash if [[ ! -d "exercises" ]]; then echo "exercises directory not found!" exit 1 fi cd ./exercises for ex in *; do err_cnt=0 impl="${ex}.el" cd $ex mv $impl "${impl}.tmp" cp example.el $impl emacs -batch -l ert -l "${ex}-test.el" -f ert-run-tests-batch-and-exit let "err_cnt += $?" mv "${impl}.tmp" $impl cd - done if [ $err_cnt -ne 0 ] then exit 1 else exit 0 fi
Version data entries
124 entries across 124 versions & 1 rubygems