mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 05:06:31 +01:00
Added helper scripts to build stacks on Windows
This commit is contained in:
parent
784d6933fa
commit
1d48ffad4c
2 changed files with 59 additions and 0 deletions
30
tools/dev_tools/windows/bas
Normal file
30
tools/dev_tools/windows/bas
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
function die () {
|
||||
echo "*******************************************************************************"
|
||||
echo $*
|
||||
echo "*******************************************************************************"
|
||||
exit 1
|
||||
}
|
||||
|
||||
build="yes"
|
||||
clean="no"
|
||||
|
||||
if [ "$1" == "rebuild" ] ; then clean="yes" ; fi
|
||||
if [ "$1" == "clean" ] ; then clean="yes" build="no"; fi
|
||||
|
||||
if [ "$clean" == "yes" ] ; then
|
||||
rm -fr $WINA3/inst || die "rm -fr $WINA3/inst failed"
|
||||
rm -fr $WINA3/source || die "rm -fr $WINA3/source failed"
|
||||
rm -fr $WINA3/buildlog || die "rm -fr $WINA3/buildlog failed"
|
||||
rm -fr $WINA3/*.done || die "rm -fr $WINA3/*.done failed"
|
||||
fi
|
||||
|
||||
if [ "$build" != "yes" ] ; then exit 0 ; fi
|
||||
|
||||
if [ "$clean" == "yes" ] ; then
|
||||
cd $WINA3
|
||||
action load
|
||||
fi
|
||||
|
||||
if [ ! -d "$WINA3/buildlog" ] ; then mkdir "$WINA3/buildlog" ; fi
|
||||
#sh -vx $WINA3/build 2>&1 | tee "$WINA3/buildlog/wina3log.`date +%Y-%m-%d--%H.%M`.txt"
|
||||
sh -vx $WINA3/build 2>&1 | tee "$WINA3/buildlog/wina3log.txt"
|
||||
29
tools/dev_tools/windows/bgs
Normal file
29
tools/dev_tools/windows/bgs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
function die () {
|
||||
echo "*******************************************************************************"
|
||||
echo $*
|
||||
echo "*******************************************************************************"
|
||||
exit 1
|
||||
}
|
||||
|
||||
build="yes"
|
||||
clean="no"
|
||||
|
||||
if [ "$1" == "rebuild" ] ; then clean="yes" ; fi
|
||||
if [ "$1" == "clean" ] ; then clean="yes" build="no"; fi
|
||||
|
||||
if [ "$clean" == "yes" ] ; then
|
||||
rm -fr $WINGTK/inst || die "rm -fr $WINGTK/inst failed"
|
||||
rm -fr $WINGTK/source || die "rm -fr $WINGTK/source failed"
|
||||
rm -fr $WINGTK/buildlog || die "rm -fr $WINGTK/buildlog failed"
|
||||
rm -fr $WINGTK/*.done || die "rm -fr $WINGTK/*.done failed"
|
||||
fi
|
||||
|
||||
if [ "$build" != "yes" ] ; then exit 0 ; fi
|
||||
|
||||
if [ "$clean" == "yes" ] ; then
|
||||
cd $WINGTK
|
||||
action load
|
||||
fi
|
||||
|
||||
if [ ! -d "$WINGTK/buildlog" ] ; then mkdir "$WINGTK/buildlog" ; fi
|
||||
sh -vx $WINGTK/build 2>&1 | tee "$WINGTK/buildlog/wingtklog.`date +%Y-%m-%d--%H.%M`.txt"
|
||||
Loading…
Add table
Add a link
Reference in a new issue