File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed
Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,22 @@ rm -rf lib
55mkdir lib
66cd lib
77
8- curl -L -O -J https://github.com/TypedDevs/bashunit/archive/refs/tags/0.6.0.tar.gz
9- tar -zxvf bashunit-0.6.0.tar.gz
10- mv bashunit-0.6.0 bashunit
8+ # ########################
9+ # # Using a concrete tag #
10+ # ########################
11+ # curl -L -O -J https://github.com/TypedDevs/bashunit/archive/refs/tags/0.7.0.tar.gz
12+ # tar -zxvf bashunit-0.7.0.tar.gz
13+ # cp bashunit-0.7.0/bin/bashunit temp_bashunit
14+ # rm bashunit-0.7.0.tar.gz
1115
16+ # #####################
17+ # # Using main branch #
18+ # #####################
19+ git clone git@github.com:TypedDevs/bashunit.git temp_bashunit
20+
21+ # # Common
22+ cd temp_bashunit
23+ ./install.sh
24+ cd ..
25+ cp temp_bashunit/bin/bashunit bashunit
26+ rm -rf temp_bashunit
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ cd "$(dirname "$0")"
66export PROJECT_DIR=" $( realpath " ." ) "
77export SRC=" ${PROJECT_DIR} /src"
88
9- lib/bashunit/bashunit tests/* _test.sh
9+ lib/bashunit tests/* _test.sh
1010
Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ function test_there_should_be_no_discount_even_for_large_quantities_on_even_days
3232
3333 assertSuccessfulCode
3434 assertEquals " ${result} " " Total 400"
35- }
35+ }
You can’t perform that action at this time.
0 commit comments