forked from irungentoo/toxcore
-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Simplify coverage dockerfile.
Use per-dockerfile dockerignore instead of sources for coverage. It's a bit more duplication (dockerignore is copied out of the sources one), but it's a bit more efficient and works in more situations (e.g. one where you can only build 1 dockerfile such as on render.com).
- Loading branch information
Showing
7 changed files
with
36 additions
and
21 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
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
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,25 @@ | ||
# ===== common ===== | ||
# Ignore everything ... | ||
**/* | ||
# ... except sources | ||
!**/*.[ch] | ||
!**/*.cc | ||
!**/*.hh | ||
!CHANGELOG.md | ||
!LICENSE | ||
!README.md | ||
!auto_tests/data/* | ||
!other/bootstrap_daemon/bash-completion/** | ||
!other/bootstrap_daemon/tox-bootstrapd.* | ||
!other/proxy/*.mod | ||
!other/proxy/*.sum | ||
!other/proxy/*.go | ||
# ... and CMake build files (used by most builds). | ||
!**/CMakeLists.txt | ||
!.github/scripts/flags*.sh | ||
!cmake/*.cmake | ||
!other/pkgconfig/* | ||
!other/rpm/* | ||
!so.version | ||
# ===== custom ===== | ||
!other/docker/coverage/run_mallocfail |
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,2 @@ | ||
# ===== custom ===== | ||
!other/docker/coverage/run_mallocfail |
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
. "$(cd "$(dirname "${BASH_SOURCE[0]}")/../sources" && pwd)/run.sh" | ||
. "$(realpath -- "${BASH_SOURCE[0]}/../../sources/run.sh")" | ||
docker run --name toxcore-doxygen --rm -it -p "28192:80" "toxchat/c-toxcore:$BUILD" |