Removed `test` target until redesign.
parent
1e613c3422
commit
4b5dd21cd6
3
Makefile
3
Makefile
|
@ -227,9 +227,6 @@ install: build.zsh.install build/binary.zsh.install build/crystal.zsh.install bu
|
|||
uninstall: build.zsh.uninstall build/binary.zsh.uninstall build/crystal.zsh.uninstall build/header.zsh.uninstall build/library.zsh.uninstall build/livescript.zsh.uninstall build/man.zsh.uninstall build/moon.zsh.uninstall build/ofile.zsh.uninstall build/sass.zsh.uninstall build/scdocman.zsh.uninstall build/script.zsh.uninstall build/sharedlib.zsh.uninstall build/staticlib.zsh.uninstall
|
||||
@:
|
||||
|
||||
test: all
|
||||
@:
|
||||
|
||||
clean: build.zsh.clean build/binary.zsh.clean build/crystal.zsh.clean build/header.zsh.clean build/library.zsh.clean build/livescript.zsh.clean build/man.zsh.clean build/moon.zsh.clean build/ofile.zsh.clean build/sass.zsh.clean build/scdocman.zsh.clean build/script.zsh.clean build/sharedlib.zsh.clean build/staticlib.zsh.clean
|
||||
distclean: clean
|
||||
dist: dist-gz dist-xz dist-bz2
|
||||
|
|
26
build.zsh.in
26
build.zsh.in
|
@ -195,7 +195,6 @@ function main {
|
|||
typeset -A sources type depends install auto filename nodist
|
||||
|
||||
typeset -A chmod
|
||||
typeset -a tests
|
||||
|
||||
prefixes=(
|
||||
PREFIX '/usr/local'
|
||||
|
@ -285,10 +284,8 @@ function main {
|
|||
if exists "${type[$target]}.build"; then
|
||||
${type[$target]}.build
|
||||
else
|
||||
if ! exists "${type[$target]}.test"; then
|
||||
error "No predefined rule for the following type: ${type[$target]}"
|
||||
error " (expect trouble, nothing’s gonna work!)"
|
||||
fi
|
||||
error "No predefined rule for the following type: ${type[$target]}"
|
||||
error " (expect trouble, nothing’s gonna work!)"
|
||||
fi
|
||||
|
||||
if [[ "${installdir}" == "-" ]]; then
|
||||
|
@ -339,10 +336,6 @@ function main {
|
|||
fi
|
||||
fi
|
||||
|
||||
if exists "${type[$target]}.test"; then
|
||||
${type[$target]}.test
|
||||
fi
|
||||
|
||||
((target_index++))
|
||||
done
|
||||
|
||||
|
@ -383,21 +376,6 @@ function main {
|
|||
done
|
||||
write "\n\t@:\n"
|
||||
|
||||
write -n "test: all"
|
||||
for target in ${targets[@]}; do
|
||||
if exists ${type[$target]}.test; then
|
||||
write -n " ${target}.test"
|
||||
fi
|
||||
done
|
||||
if (( ${#tests[@]} > 0 )); then
|
||||
write
|
||||
for test in ${tests[@]}; do
|
||||
write "\t${Q}$test"
|
||||
done
|
||||
else
|
||||
write "\n\t@:\n"
|
||||
fi
|
||||
|
||||
write -n "clean:"
|
||||
(( ${#targets[@]} > 0 )) && {
|
||||
for target in ${targets[@]}; do
|
||||
|
|
Loading…
Reference in New Issue