bin/test_gen in cli-kit-3.3.0 vs bin/test_gen in cli-kit-4.0.0
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
+set -euo pipefail
# Make sure we're in the cli kit directory
CURR_DIR=$(dirname "$0")
cd $CURR_DIR
cd ../
@@ -17,10 +18,12 @@
bundle exec ruby exe/cli-kit new myapp
mv myapp ../
cd ../myapp
# Test
-bundle install
+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