Sha256: 8c3a1fc07b8bc6f5f6777fd182520730362a75dac788ec2e30fd77caa3d5b048

Contents?: true

Size: 362 Bytes

Versions: 6

Compression:

Stored size: 362 Bytes

Contents

#!/usr/bin/env bash

INSTALL="echo \"#Copying cache\" && cp -r /usr/local/backup/* /usr/local/bundle/ && gem install bundler && bundle install"
COMMAND="bundle exec minke $@"

if [[ $1 != \generate* ]]; then
  if [ "$(ls -A ./vendor)" ]; then
    eval $COMMAND 
  else  
    eval "$INSTALL && $COMMAND"
  fi
fi

if [[ $1 = \generate* ]]; then
  eval $COMMAND
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
minke-1.13.13 docker/entrypoint.sh
minke-1.13.12 docker/entrypoint.sh
minke-1.13.11 docker/entrypoint.sh
minke-1.13.10 docker/entrypoint.sh
minke-1.13.9 docker/entrypoint.sh
minke-1.13.8 docker/entrypoint.sh