We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a10e8 commit cb1ba72Copy full SHA for cb1ba72
.gitignore
@@ -51,6 +51,7 @@ js/src/build-osx/*
51
js/src/build-linux/*
52
!js/src/build-android/build.sh
53
!js/src/build-ios/build.sh
54
+!js/src/build-ios/copy-header.sh
55
!js/src/build-win32/build.sh
56
!js/src/build-osx/build.sh
57
!js/src/build-linux/build.sh
js/src/build-ios/copy-header.sh
@@ -0,0 +1,28 @@
1
+#!/bin/sh
2
+
3
+src_dir="dist/include/"
4
+dst_dir=$1
5
6
+# Walk through a folder
7
+function foo ()
8
+{
9
+ dir=$1
10
+ for entry in $dir
11
+ do
12
+ if [ -d "$entry" ] ; then
13
+ foo "$entry/*"
14
+ else
15
+ if [ -f "$entry" ]; then
16
+ file="`readlink $entry`"
17
+ if [ ! "$entry" ]; then
18
+ file="$entry"
19
+ fi
20
+ cp "$file" "$dst_dir/$entry"
21
22
23
+ done
24
+}
25
26
+cd $src_dir
27
28
+foo "*"
0 commit comments