Removed test
target until redesign.
This commit is contained in:
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
|
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
|
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
|
distclean: clean
|
||||||
dist: dist-gz dist-xz dist-bz2
|
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 sources type depends install auto filename nodist
|
||||||
|
|
||||||
typeset -A chmod
|
typeset -A chmod
|
||||||
typeset -a tests
|
|
||||||
|
|
||||||
prefixes=(
|
prefixes=(
|
||||||
PREFIX '/usr/local'
|
PREFIX '/usr/local'
|
||||||
@ -285,10 +284,8 @@ function main {
|
|||||||
if exists "${type[$target]}.build"; then
|
if exists "${type[$target]}.build"; then
|
||||||
${type[$target]}.build
|
${type[$target]}.build
|
||||||
else
|
else
|
||||||
if ! exists "${type[$target]}.test"; then
|
error "No predefined rule for the following type: ${type[$target]}"
|
||||||
error "No predefined rule for the following type: ${type[$target]}"
|
error " (expect trouble, nothing’s gonna work!)"
|
||||||
error " (expect trouble, nothing’s gonna work!)"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${installdir}" == "-" ]]; then
|
if [[ "${installdir}" == "-" ]]; then
|
||||||
@ -339,10 +336,6 @@ function main {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if exists "${type[$target]}.test"; then
|
|
||||||
${type[$target]}.test
|
|
||||||
fi
|
|
||||||
|
|
||||||
((target_index++))
|
((target_index++))
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -383,21 +376,6 @@ function main {
|
|||||||
done
|
done
|
||||||
write "\n\t@:\n"
|
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:"
|
write -n "clean:"
|
||||||
(( ${#targets[@]} > 0 )) && {
|
(( ${#targets[@]} > 0 )) && {
|
||||||
for target in ${targets[@]}; do
|
for target in ${targets[@]}; do
|
||||||
|
Loading…
Reference in New Issue
Block a user