X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=y.sh;h=40b4278d88b338aef52413adb96a24c8d9210bce;hb=81fa3d573dcbe57b17703a21973734eb9b9f8f91;hp=19ed62f34e0b33c64bbd500753b415c2ce304c9e;hpb=9db56b5b56e9631ce472bace4920debd48e4c189;p=16.git diff --git a/y.sh b/y.sh index 19ed62f3..40b4278d 100755 --- a/y.sh +++ b/y.sh @@ -1,7 +1,16 @@ +#!/bin/bash + +# run this from the top dir of the project +topdir=`pwd` + +# force rebuild of the project wmake clean -cd src/lib/doslib +# force rebuild of doslib, make sure the latest is checked out from master +cd "$topdir/src/lib/doslib" || exit 1 git pull git checkout master git pull -. ./buildall.sh clean -. ./wbuild.sh +./buildall.sh clean +# back to top dir, build project again +cd "$topdir" || exit 1 +./wbuild.sh