File tree Expand file tree Collapse file tree 1 file changed +4
-23
lines changed
Expand file tree Collapse file tree 1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- cd " $( dirname " $0 " ) "
4- rm -rf lib
5- mkdir lib
6- cd lib
3+ curl -o _install.sh https://raw.githubusercontent.com/TypedDevs/bashunit/main/install.sh
74
8- TAG=${1-main}
9-
10- if [[ $TAG == main ]]; then
11- echo " > Using main branch"
12- git clone git@github.com:TypedDevs/bashunit.git temp_bashunit
13- else
14- echo " > Using a concrete tag '$TAG '"
15- curl -L -O -J https://github.com/TypedDevs/bashunit/archive/refs/tags/0.7.0.tar.gz
16- tar -zxvf bashunit-0.7.0.tar.gz
17- cp bashunit-0.7.0/bin/bashunit temp_bashunit
18- rm bashunit-0.7.0.tar.gz
19- fi
20-
21- # # Common
22- cd temp_bashunit
23- ./install.sh
24- cd ..
25- cp temp_bashunit/bin/bashunit bashunit
26- rm -rf temp_bashunit
5+ chmod +x _install.sh
6+ ./_install.sh
7+ rm _install.sh
You can’t perform that action at this time.
0 commit comments