Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(tests): add bats git submodules
  • Loading branch information
Airscript committed Aug 13, 2022
commit 264df9d9e00ef9d5d4ff6a13dcf935146d288a1c
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git

[submodule "tests/bats"]
path = tests/bats
url = https://github.com/bats-core/bats-core.git

[submodule "tests/test_helper/bats-support"]
path = tests/test_helper/bats-support
url = ehttps://github.com/bats-core/bats-support.git

[submodule "tests/test_helper/bats-assert"]
path = tests/test_helper/bats-assert
url = https://github.com/bats-core/bats-assert.git
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ all: build run
.PHONY: clean
clean:
docker compose down
cd ./themes/PaperMod && find . -name "*" -delete
cd ./themes && rm -r PaperMod
cd ./tests && rm -r bats test_helper

.PHONY: build
build: git-submodules
Expand Down
1 change: 1 addition & 0 deletions tests/bats
Submodule bats added at 690a3a
1 change: 1 addition & 0 deletions tests/test_helper/bats-assert
Submodule bats-assert added at ffe84e
1 change: 1 addition & 0 deletions tests/test_helper/bats-support
Submodule bats-support added at 3c8fad