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 | |
# | |
# PR validator: This script will checkout Maven, apply a PR, build the Maven distribution and | |
# run the Maven integration tests against the just-built distribution. If you | |
# successfully get to the end of this script then your PR is ready to be reviewed. | |
# Assumptions: | |
# 1) You have a functioning version of Maven installed (script tested with 3.2.1) | |
# 2) You have a decent connection. This script checks out everything from scratch and downloads | |
# everything into a clean local repository. Not terribly efficient but makes sure there is no |
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
# Load the docker-machine environment and update the route to let MacOSX access containers IPs. | |
denv() { | |
eval $(docker-machine env $1) | |
SUBNET=$(docker network inspect $(docker network ls | grep bridge | awk '{ print $1; }') | grep Subnet | awk '{ gsub(/"/, "", $2); print $2; }') | |
sudo route -n delete $SUBNET |
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
arnaud@petit-robot-1$ git dependency:go-offline | |
git: 'dependency:go-offline' is not a git command. | |
Allo, non mais allo quoi! T'utilises git et tu mets le mode offline? | |
Allô. Allô! Je ne sais pas, vous me recevez? T'utilises git et tu mets le mode offline? | |
C'est comme si j'te dis: t'es développeur et t'as des cheveux! | |
arnaud@petit-robot-1$ |