From 4e90ba47b0a5504e1fe13659bc14cc6885233e06 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Mon, 9 Sep 2019 10:40:46 -0500 Subject: [PATCH] Meta: Update makem.sh --- makem.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makem.sh b/makem.sh index f2d5f1c..67a92db 100755 --- a/makem.sh +++ b/makem.sh @@ -275,7 +275,7 @@ function error { return 1 } function die { - error "$@" + [[ $@ ]] && error "$@" exit $errors } function log { @@ -362,7 +362,7 @@ function compile { batch-byte-compile "${project_byte_compile_files[@]}" \ && success "Compiling finished without errors." \ - || error "Compiling failed." + || error "Compilation failed." } function lint { @@ -414,7 +414,7 @@ function tests { } function test-buttercup { - compile || die "Compilation required for tests." + compile || die verbose 1 "Running Buttercup tests..." @@ -430,7 +430,7 @@ function test-buttercup { } function test-ert { - compile || die "Compilation required for tests." + compile || die verbose 1 "Running ERT tests..." debug "Test files: ${project_test_files[@]}"