Cordova hook to auto cabal build