Sha256: 5c8d98e5f0d492b9ad1bf9f17f63ce370f3bc23c1eccdd5bb4debebb940afb2c

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

#!/usr/bin/env bash
set -euo pipefail

# Make sure we're in the cli kit directory
CURR_DIR=$(dirname "$0")
cd $CURR_DIR
cd ../

# Clean up
function finish {
  cd $CURR_DIR
  cd ../../
  rm -rf myapp
}
trap finish EXIT

# Generate app and move up a level to be at the same level as cli-kit
bundle exec ruby exe/cli-kit new myapp
mv myapp ../
cd ../myapp

# Test
if [[ $DEPS == 'bundler' ]]; then
  bundle install
fi
bin/testunit

if [[ $DEPS == 'vendor' ]]; then
  git clone https://github.com/Shopify/cli-ui.git ../cli-ui
  bin/update-deps
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cli-kit-5.0.0 bin/test_gen
cli-kit-4.0.0 bin/test_gen