Sha256: 7adcd2ab646ae52949a6158e4939ac47537c3ee256fee95671381b9c0e48595f

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

#!/bin/bash

OLD_GIT_DIR=$GIT_DIR

if [ "$(penchant gemfile-env)" != "remote" ]; then
  penchant gemfile remote
fi

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
penchant-0.1.1 template/script/hooks/pre-commit
penchant-0.1.0 template/script/hooks/pre-commit