Sha256: 58fe42707dbfaaa792ee7d012414c70b39b2adfeefdf9d66ca4c70c8249ebef4

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

#!/usr/bin/env bash

# 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
bundle install
bin/testunit

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cli-kit-3.3.0 bin/test_gen
cli-kit-3.1.0 bin/test_gen
cli-kit-3.0.1 bin/test_gen