From 02de4277aeb6067d1ce561a19cc39a55538f1253 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 3 Sep 2015 00:10:09 +0900 Subject: [PATCH] * improve the output --- Makefile | 4 ++-- src/Makefile.gen.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1dc75c10..bb6b64bb 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,10 @@ all: QR2.rb @echo "## CHECK ##" @echo "#############" @echo - diff QR.rb QR2.rb + diff -s QR.rb QR2.rb check: all - sha1sum --quiet -c SHA1SUMS + @sha1sum --quiet -c SHA1SUMS QR.scala: QR.rb @echo diff --git a/src/Makefile.gen.rb b/src/Makefile.gen.rb index cb0b033f..689a7f70 100644 --- a/src/Makefile.gen.rb +++ b/src/Makefile.gen.rb @@ -34,10 +34,10 @@ def banner(s1, s2=nil, i=nil) END OUT << "all: QR2.rb" banner("CHECK") -OUT << "\tdiff QR.rb QR2.rb" +OUT << "\tdiff -s QR.rb QR2.rb" OUT << "" OUT << "check: all" -OUT << "\tsha1sum --quiet -c SHA1SUMS" +OUT << "\t@sha1sum --quiet -c SHA1SUMS" [*RunSteps, RunStep["Ruby", "QR2.rb"]].each_cons(2).with_index do |(s1, s2), i| cmd = s1.cmd_make.gsub("OUTFILE", s2.src)