Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
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
spdlog
Commits
2a2a3460
Unverified
Commit
2a2a3460
authored
Jul 01, 2019
by
Daniel Mensinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved scripts into subdirectory
parent
3c64b3da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
meson.build
meson.build
+1
-1
scripts/clang_tidy.sh
scripts/clang_tidy.sh
+5
-0
scripts/extract_version.py
scripts/extract_version.py
+1
-1
scripts/format.sh
scripts/format.sh
+5
-0
No files found.
meson.build
View file @
2a2a3460
project('spdlog', ['cpp'],
license : 'MIT',
version : run_command(find_program('extract_version.py')).stdout().strip(),
version : run_command(find_program('
scripts/
extract_version.py')).stdout().strip(),
default_options : [
'warning_level=3',
'cpp_std=c++11',
...
...
clang_tidy.sh
→
scripts/
clang_tidy.sh
View file @
2a2a3460
#!/bin/bash
cd
"
$(
dirname
"
$0
"
)
"
cd
..
clang-tidy example/example.cpp
--
-I
./include
extract_version.py
→
scripts/
extract_version.py
View file @
2a2a3460
...
...
@@ -3,7 +3,7 @@
import
os
import
re
base_path
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
base_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'..'
))
config_h
=
os
.
path
.
join
(
base_path
,
'include'
,
'spdlog'
,
'version.h'
)
data
=
{
'MAJOR'
:
0
,
'MINOR'
:
0
,
'PATCH'
:
0
}
reg
=
re
.
compile
(
r'^\s*#define\s+SPDLOG_VER_([A-Z]+)\s+([0-9]+).*$'
)
...
...
format.sh
→
scripts/
format.sh
View file @
2a2a3460
#!/bin/bash
cd
"
$(
dirname
"
$0
"
)
"
cd
..
echo
-n
"Running dos2unix "
find
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|grep
-v
bundled|xargs
-I
{}
sh
-c
"dos2unix '{}' 2>/dev/null; echo -n '.'"
echo
...
...
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