From 4b5dd21cd68c2df0726a269d4790632de2b34f55 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Thu, 14 Nov 2019 19:59:34 +0100 Subject: [PATCH] Removed `test` target until redesign. --- Makefile | 3 --- build.zsh.in | 26 ++------------------------ 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index a13df16..abbcf81 100644 --- a/Makefile +++ b/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 diff --git a/build.zsh.in b/build.zsh.in index 414a9da..b73832d 100644 --- a/build.zsh.in +++ b/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