This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
destport=$(echo $1 | awk -F ':' '{print $2}'); | |
desthost=$(echo $1 | awk -F ':' '{print $1}'); | |
tunnelhost=$2 | |
echo "Connecting to $1 via a tunnel through $2"; | |
if [[ $destport == "" ]]; then | |
destport=22; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
version=$(grep "^version" build.gradle | awk -F "=" '{print $2}' | sed 's/[ \"]*//g') | |
branch=$(git branch |grep "*"|awk '{print $2}') | |
target_branch=$branch | |
skipversioncheck=$(git config --bool hooks.skipversioncheck) | |
if [[ $branch != "master" ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// This hook ensures no one has accidentally deleted the "cordova" script tag | |
var fs = require('fs'); | |
var path = require('path'); | |
var sys = require('sys') | |
var rootdir = process.argv[2]; |