mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
moved scripts into subdirectory
This commit is contained in:
parent
3c64b3da97
commit
2a2a34601c
@ -1,6 +1,6 @@
|
|||||||
project('spdlog', ['cpp'],
|
project('spdlog', ['cpp'],
|
||||||
license : 'MIT',
|
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 : [
|
default_options : [
|
||||||
'warning_level=3',
|
'warning_level=3',
|
||||||
'cpp_std=c++11',
|
'cpp_std=c++11',
|
||||||
|
@ -1 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
cd ..
|
||||||
|
|
||||||
clang-tidy example/example.cpp -- -I ./include
|
clang-tidy example/example.cpp -- -I ./include
|
@ -3,7 +3,7 @@
|
|||||||
import os
|
import os
|
||||||
import re
|
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')
|
config_h = os.path.join(base_path, 'include', 'spdlog', 'version.h')
|
||||||
data = {'MAJOR': 0, 'MINOR': 0, 'PATCH': 0}
|
data = {'MAJOR': 0, 'MINOR': 0, 'PATCH': 0}
|
||||||
reg = re.compile(r'^\s*#define\s+SPDLOG_VER_([A-Z]+)\s+([0-9]+).*$')
|
reg = re.compile(r'^\s*#define\s+SPDLOG_VER_([A-Z]+)\s+([0-9]+).*$')
|
@ -1,3 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
cd ..
|
||||||
|
|
||||||
echo -n "Running dos2unix "
|
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
|
Loading…
Reference in New Issue
Block a user