Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
01e196f6
Unverified
Commit
01e196f6
authored
Jul 15, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/nlohmann/json
into issue1968
parents
39527391
1a521cbd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
15 deletions
+11
-15
.travis.yml
.travis.yml
+6
-11
Makefile
Makefile
+4
-4
README.md
README.md
+1
-0
No files found.
.travis.yml
View file @
01e196f6
...
...
@@ -10,17 +10,6 @@ sudo: required
group
:
edge
###################
# global settings #
###################
env
:
global
:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
-
secure
:
"
m89SSgE+ASLO38rSKx7MTXK3n5NkP9bIx95jwY71YEiuFzib30PDJ/DifKnXxBjvy/AkCGztErQRk/8ZCvq+4HXozU2knEGnL/RUitvlwbhzfh2D4lmS3BvWBGS3N3NewoPBrRmdcvnT0xjOGXxtZaJ3P74TkB9GBnlz/HmKORA="
################
# build matrix #
################
...
...
@@ -129,6 +118,9 @@ matrix:
env
:
-
SPECIAL=coverity
-
COMPILER=clang++-3.6
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
-
secure
:
"
m89SSgE+ASLO38rSKx7MTXK3n5NkP9bIx95jwY71YEiuFzib30PDJ/DifKnXxBjvy/AkCGztErQRk/8ZCvq+4HXozU2knEGnL/RUitvlwbhzfh2D4lmS3BvWBGS3N3NewoPBrRmdcvnT0xjOGXxtZaJ3P74TkB9GBnlz/HmKORA="
# OSX / Clang
...
...
@@ -150,6 +142,9 @@ matrix:
-
os
:
osx
osx_image
:
xcode11.2
-
os
:
osx
osx_image
:
xcode12
# Linux / GCC
-
os
:
linux
...
...
Makefile
View file @
01e196f6
...
...
@@ -562,7 +562,7 @@ check-amalgamation:
check-single-includes
:
@
for
x
in
$(SRCS)
;
do
\
echo
"Checking self-sufficiency of
$$
x..."
;
\
echo
"#include <
$$
x>
\n
int main() {}
\n
"
|
sed
's|include/||'
>
single_include_test.cpp
;
\
echo
"#include <
$$
x>
\n
int main() {}
\n
"
|
$(SED)
's|include/||'
>
single_include_test.cpp
;
\
$(CXX)
$(CXXFLAGS)
-Iinclude
-std
=
c++11 single_include_test.cpp
-o
single_include_test
;
\
rm
-f
single_include_test.cpp single_include_test
;
\
done
...
...
@@ -572,7 +572,7 @@ check-single-includes:
# CMake
##########################################################################
# grep "^option" CMakeLists.txt test/CMakeLists.txt |
sed
's/(/ /' | awk '{print $2}' | xargs
# grep "^option" CMakeLists.txt test/CMakeLists.txt |
$(SED)
's/(/ /' | awk '{print $2}' | xargs
# check if all flags of our CMake files work
check_cmake_flags_do
:
...
...
@@ -651,6 +651,6 @@ clean:
update_hedley
:
rm
-f
include/nlohmann/thirdparty/hedley/hedley.hpp include/nlohmann/thirdparty/hedley/hedley_undef.hpp
curl https://raw.githubusercontent.com/nemequ/hedley/master/hedley.h
-o
include/nlohmann/thirdparty/hedley/hedley.hpp
gsed
-i
's/HEDLEY_/JSON_HEDLEY_/g'
include/nlohmann/thirdparty/hedley/hedley.hpp
grep
"[[:blank:]]*#[[:blank:]]*undef"
include/nlohmann/thirdparty/hedley/hedley.hpp |
grep
-v
"__"
|
sort
|
uniq
|
gsed
's/ //g'
| gsed
's/undef/undef /g'
>
include/nlohmann/thirdparty/hedley/hedley_undef.hpp
$(SED)
-i
's/HEDLEY_/JSON_HEDLEY_/g'
include/nlohmann/thirdparty/hedley/hedley.hpp
grep
"[[:blank:]]*#[[:blank:]]*undef"
include/nlohmann/thirdparty/hedley/hedley.hpp |
grep
-v
"__"
|
sort
|
uniq
|
$(SED)
's/ //g'
|
$(SED)
's/undef/undef /g'
>
include/nlohmann/thirdparty/hedley/hedley_undef.hpp
$(MAKE)
amalgamate
README.md
View file @
01e196f6
...
...
@@ -1226,6 +1226,7 @@ The following compilers are currently used in continuous integration at [Travis]
| Apple Clang 10.0.1 (clang-1001.0.46.4); Xcode 10.2.1 | macOS 10.14.4 | Travis |
| Apple Clang 11.0.0 (clang-1100.0.33.12); Xcode 11.2.1 | macOS 10.14.6 | Travis |
| Apple Clang 11.0.3 (clang-1103.0.32.59); Xcode 11.4.1 | macOS 10.15.4 | GitHub Actions |
| Apple Clang 12.0.0 (clang-1200.0.22.7); Xcode 11.4.1 | macOS 10.15.5 | Travis |
| Clang 3.5.0 (3.5.0-4ubuntu2~trusty2) | Ubuntu 14.04.5 LTS | Travis |
| Clang 3.6.2 (3.6.2-svn240577-1~exp1) | Ubuntu 14.04.5 LTS | Travis |
| Clang 3.7.1 (3.7.1-svn253571-1~exp1) | Ubuntu 14.04.5 LTS | Travis |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment