forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makes `make json-check` a thing, and further teaches the makefile how to `make chkjson` (or chkjson.exe, on Windows targets). Moves these out from doc/contrib to src/chkjson, since they are (well) source files. The new chkjson still depends on its own .cpp, the stub .h, json.{h,cpp}, and the Makefile, which consists of the minimum possible attack vector for Jenkins pull request security.
- Loading branch information
Showing
6 changed files
with
22 additions
and
38 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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
cataclysm | ||
cataclysm-tiles | ||
chkjson | ||
!src/chkjson | ||
data/*.template | ||
save/ | ||
graveyard/ | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
/* | ||
Stub out additional requirements and butt in before real catacharset is included | ||
*/ | ||
#ifndef CATACHARSET_H | ||
#define CATACHARSET_H 1 | ||
#include <stdint.h> | ||
#include <string> | ||
std::string utf32_to_utf8(unsigned ch) { | ||
return std::string("-stub-"); | ||
} | ||
#endif |
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