Meta: Update makem.sh

This commit is contained in:
Adam Porter 2019-09-09 10:40:46 -05:00
parent deb78e51c7
commit 4e90ba47b0

View file

@ -275,7 +275,7 @@ function error {
return 1 return 1
} }
function die { function die {
error "$@" [[ $@ ]] && error "$@"
exit $errors exit $errors
} }
function log { function log {
@ -362,7 +362,7 @@ function compile {
batch-byte-compile "${project_byte_compile_files[@]}" \ batch-byte-compile "${project_byte_compile_files[@]}" \
&& success "Compiling finished without errors." \ && success "Compiling finished without errors." \
|| error "Compiling failed." || error "Compilation failed."
} }
function lint { function lint {
@ -414,7 +414,7 @@ function tests {
} }
function test-buttercup { function test-buttercup {
compile || die "Compilation required for tests." compile || die
verbose 1 "Running Buttercup tests..." verbose 1 "Running Buttercup tests..."
@ -430,7 +430,7 @@ function test-buttercup {
} }
function test-ert { function test-ert {
compile || die "Compilation required for tests." compile || die
verbose 1 "Running ERT tests..." verbose 1 "Running ERT tests..."
debug "Test files: ${project_test_files[@]}" debug "Test files: ${project_test_files[@]}"