forked from irungentoo/toxcore
-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Compare pointers in if conditions to nullptr.
Don't use implicit ptr-to-bool conversion.
- Loading branch information
Showing
17 changed files
with
152 additions
and
125 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,18 @@ | ||
FROM toxchat/haskell:hs-tokstyle AS tokstyle | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
gcc \ | ||
git \ | ||
libmsgpack-dev \ | ||
libsodium-dev \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=tokstyle /bin/check-c /bin/ | ||
RUN git clone --depth=1 https://github.com/TokTok/hs-tokstyle /src/workspace/hs-tokstyle | ||
|
||
COPY toxcore/ /src/workspace/c-toxcore/toxcore/ | ||
COPY toxencryptsave/ /src/workspace/c-toxcore/toxencryptsave/ | ||
RUN /bin/check-c /src/workspace/c-toxcore/toxcore/*.c |
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
Oops, something went wrong.