moved scripts into subdirectory
This commit is contained in:
		@@ -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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user