Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit e934cb8

Browse files
committed
Add commands for automatically generating the file names required
1 parent 90e9d84 commit e934cb8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

binding.gyp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
'zlib',
4949
'http_parser',
5050
],
51+
# Automatically generated by using the following command in bash:
52+
# find "./deps/libgit2/src" -mindepth 1 -type f ! -path "./deps/libgit2/src/win32/*" ! -path "./deps/libgit2/src/unix/*" ! -path "./deps/libgit2/src/hash/*" -print0 | xargs -0 -I {} echo " '{}',"
5153
'sources': [
5254
'deps/libgit2/src/annotated_commit.c',
5355
'deps/libgit2/src/annotated_commit.h',
@@ -380,6 +382,9 @@
380382
4047, # 'volatile void *' differs in levels of indirection from 'int'
381383
4013, # 'InterlockedDecrement' undefined; assuming extern returning int
382384
],
385+
# Automatically generated by using the following command in bash:
386+
# find "./deps/libgit2/src/win32" -mindepth 1 -type f -print0 | xargs -0 -I {} echo " '{}',"
387+
# find "./deps/libgit2/src/hash/" -regex '.*win32.*' -print0 | xargs -0 -I {} echo " '{}',"
383388
'sources': [
384389
'deps/libgit2/src/net.c',
385390
'deps/libgit2/src/win32/dir.c',
@@ -417,6 +422,9 @@
417422
'libraries': [
418423
'-lpthread',
419424
],
425+
# Automatically generated by using the following command in bash:
426+
# find "./deps/libgit2/src/unix" -mindepth 1 -type f -print0 | xargs -0 -I {} echo " '{}',"
427+
# find "./deps/libgit2/src/hash/" -regex '.*generic.*' -print0 | xargs -0 -I {} echo " '{}',"
420428
'sources': [
421429
'deps/libgit2/src/unix/map.c',
422430
'deps/libgit2/src/unix/posix.h',
@@ -451,6 +459,8 @@
451459
'target_name': 'zlib',
452460
'win_delay_load_hook': 'false',
453461
'type': 'static_library',
462+
# Automatically generated by using the following command in bash:
463+
# find "./deps/libgit2/deps/zlib/" -regex ".*\.[h|c]" -print0 | xargs -0 -I {} echo " '{}',"
454464
'sources': [
455465
'deps/libgit2/deps/zlib/adler32.c',
456466
'deps/libgit2/deps/zlib/crc32.c',
@@ -501,6 +511,8 @@
501511
'target_name': 'http_parser',
502512
'win_delay_load_hook': 'false',
503513
'type': 'static_library',
514+
# Automatically generated by using the following command in bash:
515+
# find "./deps/libgit2/deps/http-parser" -regex ".*\.[h|c]" -print0 | xargs -0 -I {} echo " '{}',"
504516
'sources': [
505517
'deps/libgit2/deps/http-parser/http_parser.c',
506518
'deps/libgit2/deps/http-parser/http_parser.h',
@@ -526,6 +538,8 @@
526538
'target_name': 'pcre',
527539
'win_delay_load_hook': 'false',
528540
'type': 'static_library',
541+
# Automatically generated by using the following command in bash:
542+
# find "./deps/libgit2/deps/pcre" -regex ".*\.[h|c]" -print0 | xargs -0 -I {} echo " '{}',"
529543
'sources': [
530544
'deps/libgit2/deps/pcre/pcre_byte_order.c',
531545
'deps/libgit2/deps/pcre/pcre_chartables.c',

0 commit comments

Comments
 (0)