10 lines
182 B
Plaintext
10 lines
182 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
branch=`git rev-parse --abbrev-ref HEAD`
|
||
|
script_dir="$(dirname "$(readlink -f "$0")")"
|
||
|
cd $script_dir
|
||
|
|
||
|
if [[ $branch == "master" ]]; then
|
||
|
./validate_examples
|
||
|
fi
|