diff --git a/desk.acc/res/go.sh b/desk.acc/res/go.sh index abd531a..f21827f 100755 --- a/desk.acc/res/go.sh +++ b/desk.acc/res/go.sh @@ -5,31 +5,5 @@ set -e source "../res/util.sh" -function verify { - diff "orig/$1.bin" "out/$1.built" \ - && (cecho green "diff $1 good" ) \ - || (tput blink ; cecho red "DIFF $1 BAD" ; return 1) -} - -function stats { - echo "$(printf '%-20s' $1)""$(../res/stats.pl < $1)" -} - #do_make clean do_make all - -# Verify original and output match -echo "Verifying diffs:" -cecho yellow "calculator N/A - patches applied" -cecho yellow "show.text.file N/A - patches applied" -cecho yellow "date N/A - patches applied" -verify "puzzle" -verify "sort.directory" - -# Compute stats -echo "Stats:" -stats "calculator.s" -stats "show.text.file.s" -stats "date.s" -stats "puzzle.s" -stats "sort.directory.s" diff --git a/desktop.system/res/go.sh b/desktop.system/res/go.sh index b7493f9..ff33938 100755 --- a/desktop.system/res/go.sh +++ b/desktop.system/res/go.sh @@ -5,17 +5,5 @@ set -e source "../res/util.sh" -function stats { - echo "$(printf '%-15s' $1)""$(../res/stats.pl < $1)" -} - #do_make clean do_make all - -SOURCES="desktop.system" - -# Compute stats -echo "Stats:" -for t in $SOURCES; do - stats "$t.s" -done; diff --git a/desktop/res/go.sh b/desktop/res/go.sh index 87fd6e6..8ce9444 100755 --- a/desktop/res/go.sh +++ b/desktop/res/go.sh @@ -5,24 +5,5 @@ set -e source "../res/util.sh" -function stats { - echo "$(printf '%-15s' $1)""$(../res/stats.pl < $1)" -} - #do_make clean do_make all - -COMMON="loader mgtk" -TARGETS="$COMMON desktop" -SOURCES="$COMMON desktop_main desktop_res desktop_aux invoker ovl1 ovl1a ovl1b ovl1c ovl2 ovl3 ovl4 ovl5 ovl6 ovl7" - -# Compute stats -echo "Stats:" -for t in $SOURCES; do - stats "$t.s" -done; - -# Mountable directory for Virtual ][ -if [ -d mount ]; then - res/mount.sh -fi