-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f716f4
commit e59f832
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Define the directory where the libraries will be cloned | ||
LIBS_DIR="lib" | ||
|
||
# Create the directory if it doesn't exist | ||
mkdir -p $LIBS_DIR | ||
|
||
# Clone bats-support | ||
if [ ! -d "$LIBS_DIR/bats-support" ]; then | ||
git clone https://github.com/bats-core/bats-support.git $LIBS_DIR/bats-support | ||
else | ||
echo "bats-support is already present." | ||
fi | ||
|
||
# Clone bats-assert | ||
if [ ! -d "$LIBS_DIR/bats-assert" ]; then | ||
git clone https://github.com/bats-core/bats-assert.git $LIBS_DIR/bats-assert | ||
else | ||
echo "bats-assert is already present." | ||
fi | ||
|
||
echo "BATS libraries setup completed." |