mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
Organized modules, added indirection for FFI vs extension loading (#10)
* mv src -> ext, lib -> src to be more in line with PHP module expectations * Fixed dependency for ffi test * Fixed path in format-check to C source * CRT will now try the extension first, then FFI
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ if NOT type $CLANG_FORMAT 2> /dev/null ; then
|
||||
fi
|
||||
|
||||
FAIL=0
|
||||
SOURCE_FILES=`find src -type f \( -name '*.h' -o -name '*.c' \)`
|
||||
SOURCE_FILES=`find ext -type f \( -name '*.h' -o -name '*.c' \)`
|
||||
for i in $SOURCE_FILES
|
||||
do
|
||||
$CLANG_FORMAT -output-replacements-xml $i | grep -c "<replacement " > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user