diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-29 20:51:12 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-29 20:51:12 -0500 |
commit | ddac347ea12637bdc63a1b126a393d6e35313204 (patch) | |
tree | 7663b83c69528054099378372c5eaccb13314c92 | |
parent | ba758bc158a1fa203adbcccc387dca2aea59549b (diff) |
build script
-rwxr-xr-x | build.sh | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |