Sha256: a15def982094eaa59eec57ae408207d9cc80d068865f98b361d04b48c33a200d

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

#!/bin/bash

OLD_GIT_DIR=$GIT_DIR

if [ $(penchant gemfile-env) != "remote" ]; then
  unset GIT_DIR
  penchant gemfile remote
  GIT_DIR=$OLD_GIT_DIR
  git add Gemfile*
fi

bundle exec rake
R=$?
if [ $R -ne 0 ]; then exit $R; fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
penchant-0.0.1 template/script/hooks/pre-commit