mars

superminimal static website framework
git clone git://parazyd.org/mars.git
Log | Files | Refs | README | LICENSE

commit 96710253cf7d39306ebe21695317dd59e46fda5d
parent 57a3d8292067c62cf013aa83670bff2a1e0a6287
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 17 Jun 2016 13:32:33 +0200

don't spam on make clean

Diffstat:
Mmars.sh | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/mars.sh b/mars.sh @@ -63,13 +63,11 @@ clean() { print "${fg[blue]} -- /$dir --${reset_color}" for page in $pages; do - if [[ -n "${exclude[(r)$page]}" ]]; then - print "${fg[yellow]}(*) skipping ${page}${reset_color}" - else + [[ -n "${exclude[(r)$page]}" ]] || { name=${page[(ws:.:)1]} printf "(*) " rm -v $name.html - fi + } done popd