This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fail script if a command fails | |
set -x | |
# Grab the latest postgresql:9.4-alpine image | |
docker pull postgres:9.4-alpine | |
# We will name our container as `pg_tmp`, so we will | |
# make sure that no container with this name is running |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From https://gist.github.com/778535 | |
# In turn based on http://www.natontesting.com/2010/01/11/updated-script-to-list-all-cucumber-step-definitions/ | |
desc "List all available steps" | |
task :steps do | |
require 'hirb' | |
extend Hirb::Console | |
features_dir = "features" | |
step_candidates = Dir.glob(File.join(features_dir,'**/*.rb')) | |
# Follow all the gem requires, and identify which files have steps in them |