From ddac347ea12637bdc63a1b126a393d6e35313204 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 29 Nov 2016 20:51:12 -0500 Subject: [PATCH] build script --- build.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index bbda76c..b2ddb0a 100755 --- a/build.sh +++ b/build.sh @@ -3,10 +3,12 @@ idate=$(date +"%s" -r .git/index) odate=$(date +"%s" -r ./.updated) -echo $idate -echo $odate - if (( $idate > $odate )); then - echo "frig" + echo "Project updated, building all..." + make clean + make -j4 touch ./.updated +else + echo "Up to date, building..." + make -j4 fi -- 2.39.5