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
49bc58da
Commit
49bc58da
authored
Jul 05, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved .clang-tidy and .clang-format to scripts dir
parent
f5831d51
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
scripts/.clang-format
scripts/.clang-format
+0
-0
scripts/.clang-tidy
scripts/.clang-tidy
+0
-0
scripts/clang_tidy.sh
scripts/clang_tidy.sh
+1
-2
scripts/format.sh
scripts/format.sh
+2
-3
No files found.
.clang-format
→
scripts/
.clang-format
View file @
49bc58da
File moved
.clang-tidy
→
scripts/
.clang-tidy
View file @
49bc58da
File moved
scripts/clang_tidy.sh
View file @
49bc58da
#!/bin/bash
cd
"
$(
dirname
"
$0
"
)
"
cd
..
clang-tidy example/example.cpp
--
-I
./include
clang-tidy
../
example/example.cpp
--
-I
./include
scripts/format.sh
View file @
49bc58da
#!/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 '.'"
find .
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|grep
-v
bundled|xargs
-I
{}
sh
-c
"dos2unix '{}' 2>/dev/null; echo -n '.'"
echo
echo
-n
"Running clang-format "
find
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|grep
-v
bundled|xargs
-I
{}
sh
-c
"clang-format -i {}; echo -n '.'"
find .
.
-name
"*
\.
h"
-o
-name
"*
\.
cpp"
|grep
-v
bundled|xargs
-I
{}
sh
-c
"clang-format -i {}; 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