Meta: Update makem.sh
This commit is contained in:
parent
deb78e51c7
commit
4e90ba47b0
1 changed files with 4 additions and 4 deletions
8
makem.sh
8
makem.sh
|
|
@ -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[@]}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue