Sha256: b8e6453a2820896283535deeeb2f82b78a1a9d39d401f1745af684fbdb548723
Contents?: true
Size: 354 Bytes
Versions: 213
Compression:
Stored size: 354 Bytes
Contents
#!/bin/sh if [ $# -eq 0 ]; then echo "usage: $0 exercise-slug" exit 1 fi dir=$1 cd $dir status=0 mv source testbak mv example source if ! dub test ; then echo "$dir test has failed" status=1 fi # Restore so that if we are running locally, # we don't accidentally commit the directory moves. mv source example mv testbak source exit $status
Version data entries
213 entries across 213 versions & 1 rubygems