automate build from git

this will work only if bap is already installed, otherwise it will fail with error