mirror of
https://github.com/mi57730/a2d.git
synced 2025-02-09 04:30:43 +00:00
Build: Don't do stats/diffs for fixes branch
This commit is contained in:
parent
019263a014
commit
d0b516eb2f
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user