dry-cli 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/script/ci DELETED
@@ -1,51 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- prepare_build() {
6
- if [ -d coverage ]; then
7
- rm -rf coverage
8
- fi
9
- }
10
-
11
- print_ruby_version() {
12
- echo "Using $(ruby -v)"
13
- echo
14
- }
15
-
16
- run_unit_tests() {
17
- bundle exec rake spec:unit
18
- }
19
-
20
- run_integration_tests() {
21
- local pwd=$PWD
22
- local root="$pwd/spec/integration"
23
-
24
- for test in $(find $root -name '*_spec.rb')
25
- do
26
- run_test $test
27
-
28
- if [ $? -ne 0 ]; then
29
- local exit_code=$?
30
- echo "Failing test: $test"
31
- exit $exit_code
32
- fi
33
- done
34
- }
35
-
36
- run_test() {
37
- local test=$1
38
- local hash="$(shasum "$test" | cut -b 1-40)"
39
-
40
- printf "\n\n\nRunning: $test\n"
41
- SIMPLECOV_COMMAND_NAME=$hash bundle exec rspec $test
42
- }
43
-
44
- main() {
45
- prepare_build &&
46
- print_ruby_version &&
47
- run_unit_tests &&
48
- run_integration_tests
49
- }
50
-
51
- main