Ignore generated include folders and files.
authorDaniel G <giri@nwrk.biz>
Sat, 26 Jan 2019 11:44:37 +0000 (12:44 +0100)
committerDaniel G <giri@nwrk.biz>
Sat, 26 Jan 2019 11:44:37 +0000 (12:44 +0100)
_template/include/.gitignore [new file with mode: 0644]
_template/scripts/mingw_symbol_helper.sh [new file with mode: 0755]

diff --git a/_template/include/.gitignore b/_template/include/.gitignore
new file mode 100644 (file)
index 0000000..9bc88e1
--- /dev/null
@@ -0,0 +1,6 @@
+# Ignore everything
+*
+
+# But not these files...
+!.gitignore
+!json.h
diff --git a/_template/scripts/mingw_symbol_helper.sh b/_template/scripts/mingw_symbol_helper.sh
new file mode 100755 (executable)
index 0000000..3b40aaf
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+ for lib in `ls /usr/lib/gcc/i686-w64-mingw32/6.3-posix/../../../../i686-w64-mingw32/lib/../lib/*.a`
+ do
+    echo "search in $lib"
+    nm $lib | grep $@
+ done
\ No newline at end of file