Rakefiles: automagically checkout revisions for given branch
To simplify creation and management development branches, the
`checkout` and `update` tasks selects the revision to checkout
as follows: given a package, it (in that order):
* if rbspec-file specifies `:revision`, then checkout or update
to that one, else
* if there's a bookmark with the same name as rakefile's
active bookmark or branch, If so, checkout or update to
that one, else
* if there are multiple heads then, then check out bookmark
`master`, else
* if there's only one head checkout that head.
This allows one to create a development branch just by branching
rakefiles and then using bookmarks whenever one needs to use specific
branch of a package.
Note, that previously it was necessary not only to bookmark the package
but also update rbspec-file. So updating rbspec-file is no longer
necessary.
@echo off
if exist C:\MSYS64\MINGW64 (
set MINGW_DIR=C:\MSYS64\MINGW64
) else (
set MINGW_DIR=C:\MINGW64
)
set MINGW=__MINGW64__
set USEMINGW_ARG=-DUSEMINGW64
set PATH=%~dp0;%PATH%;%MINGW_DIR%\bin
echo Environment now set to compile 64bit code
echo To compile a package, type "mingwmake" in package directory