forked from EdgeApp/airbitz-core-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkabcclean
More file actions
executable file
·33 lines (27 loc) · 856 Bytes
/
mkabcclean
File metadata and controls
executable file
·33 lines (27 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
set -u
set -e
CURRENT_DIR=$( /bin/pwd )
mkdir -m 0775 -p Libraries
touch ../airbitz-core/deps/recipes/abc/abc.recipe
if [ -z ${BUILD_DIR+x} ]; then
export BUILD_DIR=${BUILD_DIR:-$CURRENT_DIR/../airbitz-core/deps/build};
fi
if [ "${1-}" = "testnet" ]; then
shift
(
cd ../airbitz-core/deps
make abc.clean
make abc.package-ios-universal ENABLE_TESTNET=1 $@
)
cp -aL ../airbitz-core/deps/build-testnet/abc/abc-ios-universal/include/* Classes/Private
cp -a ../airbitz-core/deps/build-testnet/abc/abc-ios-universal/lib/* Libraries/
else
(
cd ../airbitz-core/deps
make abc.clean
make abc.package-ios-universal $@
)
cp -aL ../airbitz-core/deps/build/abc/abc-ios-universal/include/* Classes/Private
cp -a ../airbitz-core/deps/build/abc/abc-ios-universal/lib/* Libraries/
fi